/* style.css */
:root {
    --primary-color: #030442;
    --primary-light: #1a1b66;
    --secondary-color: #630303;
    --secondary-light: #8a1c1c;
    --text-dark: #333;
    --text-light: #f5f5f5;
    --bg-light: #f9f9fc;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 8px 32px 0 rgba(3, 4, 66, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

.w-100 {
    width: 100%;
}

.mt-5 {
    margin-top: 3rem;
}

/* Headings & Lines */
h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.heading-line {
    height: 4px;
    width: 60px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    margin-bottom: 2rem;
    border-radius: 2px;
}

.center-line {
    margin: 0 auto 2rem auto;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-primary-outline {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(3, 4, 66, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(3, 4, 66, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(99, 3, 3, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 3, 3, 0.4);
}

.btn-primary-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-primary-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
}

.glass-nav {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav.scrolled {
    background: var(--glass-bg);
    padding: 10px 0;
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 50px;
    transition: var(--transition);
}

nav:not(.scrolled) .logo-img {
    filter: brightness(0) invert(1);
}

nav.scrolled .logo-img {
    height: 40px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    font-family: 'Outfit', sans-serif;
    position: relative;
}

nav.scrolled .nav-links a:not(.btn-primary-outline) {
    color: var(--primary-color);
}

.nav-links .btn-primary-outline {
    color: var(--white);
    border-color: var(--white);
}

nav.scrolled .nav-links .btn-primary-outline {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.nav-links a:not(.btn-primary-outline)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-links a:not(.btn-primary-outline):hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

nav.scrolled .hamburger {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    color: var(--white);
    max-width: 800px;
    padding-top: 80px;
}

.subtitle {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 5px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--white);
}

.hero h1 span {
    color: transparent;
    -webkit-text-stroke: 1px var(--white);
    position: relative;
}

.hero h1 span::before {
    content: "Sourcing";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary-color);
    width: 0%;
    overflow: hidden;
    animation: textFill 3s ease-in-out forwards;
}

@keyframes textFill {
    to { width: 100%; }
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #555;
}

.stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.stat-item span {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    color: var(--text-dark);
    text-transform: uppercase;
    font-size: 0.85rem;
}

.about-image-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.glass-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.primary-card::before {
    background-color: var(--primary-color);
}

.secondary-card::before {
    background-color: var(--secondary-color);
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.glass-card i {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.secondary-card i {
    color: var(--secondary-color);
}

.glass-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Industries Section */
.section-desc {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.industry-card {
    background: var(--white);
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.02);
}

.industry-card:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    box-shadow: 0 15px 30px rgba(3, 4, 66, 0.2);
}

.industry-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

.industry-card:hover i {
    color: var(--white);
    transform: scale(1.1);
}

.industry-card h3 {
    font-size: 1.3rem;
    transition: var(--transition);
}

.industry-card:hover h3 {
    color: var(--white);
}

/* Products & Brands */
.products-brands-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.product-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    background: var(--bg-light);
    padding: 20px;
    border-radius: 15px;
    transition: var(--transition);
}

.product-list li:hover {
    box-shadow: var(--shadow);
    transform: translateX(10px);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(3, 4, 66, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.icon-box i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.product-list h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.brand-desc {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: #555;
}

.brand-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.tag {
    background: var(--white);
    border: 1px solid #ddd;
    padding: 10px 20px;
    border-radius: 30px;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    transition: var(--transition);
}

.tag:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 80px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-btn {
    background: var(--white);
    color: var(--primary-color);
}

.cta-btn:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info {
    padding-right: 20px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.contact-info > p {
    margin-bottom: 40px;
    color: #666;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-item .icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(3, 4, 66, 0.2);
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-item p {
    color: #555;
}

.info-item a {
    color: #555;
}

.info-item a:hover {
    color: var(--secondary-color);
}

.office-locations {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
}

.office {
    margin-bottom: 25px;
}

.office h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.office p {
    color: #555;
    line-height: 1.8;
}

.glass-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.glass-form h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    background: #fcfcfc;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(3, 4, 66, 0.1);
    background: var(--white);
}

.alert {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert.success {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.alert.error {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

.hidden {
    display: none;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    max-width: 300px;
    line-height: 1.8;
}

.footer-links h3, .footer-social h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 992px) {
    .hero h1 { font-size: 3.5rem; }
    .about-grid { grid-template-columns: 1fr; }
    .products-brands-split { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 30px 0;
        gap: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    nav.scrolled .nav-links a {
        color: var(--primary-color);
    }
    
    .nav-links a { color: var(--primary-color) !important; }

    .hamburger { display: block; }
    
    .hero h1 { font-size: 2.8rem; }
    .stats { flex-direction: column; gap: 20px; }
    .footer-content { grid-template-columns: 1fr; }
}
