:root {
    --primary-bg: #F3E8D3; /* Cream */
    --primary-color: #305B86; /* Deep Blue */
    --accent-color: #C1A66F; /* Gold-ish accent for elegance */
    --text-color: #2c3e50;
    --light-text: #5f6c7b;
    --white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --shadow-sm: 0 4px 6px rgba(48, 91, 134, 0.05);
    --shadow-md: 0 10px 30px rgba(48, 91, 134, 0.1);
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: #faf9f6; /* Slightly lighter than cream for main bg */
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.2;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.text-center { text-align: center; }
.mb-5 { margin-bottom: 3rem; }

.section-subtitle {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    display: block;
}

.section-desc {
    max-width: 600px;
    margin: 1rem auto 0;
    color: var(--light-text);
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(48, 91, 134, 0.05);
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav a:not(.nav-btn):hover {
    color: var(--primary-color);
}

.nav-btn {
    padding: 0.6rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--white) !important;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(48, 91, 134, 0.2);
}

/* Hero Section */
.hero {
    background-color: var(--primary-bg);
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Abstract Shape Background */
.hero::before {
    content: ''; /* Large Circle */
    position: absolute;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(243, 232, 211, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero::after {
    content: ''; /* Small Accent Circle */
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(48, 91, 134, 0.05) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    position: relative; /* Above bg */
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 4rem; /* Added padding to offset header visually */
    animation: fadeInUp 1.2s ease-out;
}

.hero h2 {
    font-size: 6rem;
    line-height: 1;
    margin-bottom: 2rem;
    color: var(--primary-color);
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.5rem;
    color: #5d5d5d;
    margin-bottom: 3rem;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    display: inline-block;
    padding: 1rem 2.8rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #24466b;
}

/* Partner Section */
.partner-section {
    padding: 6rem 0;
    background: var(--white);
}

.partner-section h3 {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
}

.partner-card {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 4rem;
    border: 1px solid #eee;
    border-radius: var(--radius);
    transition: transform 0.3s, border-color 0.3s;
}

.partner-card:hover {
    border-color: var(--primary-bg);
    transform: scale(1.02);
}

.partner-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
}

/* Products Section */
.products-section {
    padding: 8rem 0;
    background-color: var(--primary-bg); /* Match bg color scheme */
}

.products-section h3 {
    font-size: 2.5rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-bg);
}

.card-icon {
    font-size: 1.8rem; /* Adjusted for icons */
    color: var(--primary-color); /* Added explicit color for contrast */
    margin-bottom: 1.5rem;
    background: var(--primary-bg);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.product-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.product-card p {
    color: var(--light-text);
    font-size: 0.95rem;
}


/* About Section Redesign */
.about-section {
    padding: 10rem 0;
    background-color: var(--white); /* White background for contrast against Hero */
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text-content h3 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.lead-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--accent-color);
    padding-left: 1rem;
}

.about-text-content p {
    color: #666;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.stats-row {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(48, 91, 134, 0.1);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}

/* Visual Stack for About */
.about-visual {
    position: relative;
    height: 500px;
    width: 100%;
}

.image-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.stack-item {
    position: absolute;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    transition: transform 0.4s ease;
}

.stack-item:hover {
    transform: translateY(-10px);
}

.item-1 {
    top: 0;
    left: 10%;
    width: 70%;
    height: 85%;
    background-color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-bg);
    font-size: 8rem;
    z-index: 1;
}

.item-2 {
    bottom: 0;
    right: 10%;
    width: 50%;
    height: 40%;
    background-color: var(--primary-bg); /* Contrast with About White BG */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    border: 1px solid rgba(0,0,0,0.05);
}

.item-2 span {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-color);
}


/* Contact Section Redesign */
.contact-section {
    padding: 8rem 0;
    background-color: #1a1a1a; /* Dark sleek background */
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}

.contact-content {
    flex: 1;
}

.contact-section h3 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.contact-intro {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 3rem;
    max-width: 500px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    transition: transform 0.3s, background 0.3s;
}

.contact-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.08);
}

.contact-icon-box {
    width: 50px;
    height: 50px;
    background: var(--primary-bg);
    color: var(--primary-color); /* Added explicit color for contrast */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-info .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.2rem;
}

.contact-info .value {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    font-family: var(--font-heading);
    transition: color 0.3s;
}

.contact-info .value:hover {
    color: var(--primary-bg);
}

.contact-visual {
    flex: 1;
    height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-circle {
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, var(--primary-color), #4a7aa9);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
    100% { transform: translateY(0px) scale(1); }
}

.visual-card {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--white);
    transform: rotate(-5deg);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.visual-card span:nth-child(2) {
    margin-left: 2rem;
    color: var(--primary-bg);
}
.visual-card span:nth-child(3) {
    margin-left: 4rem;
}

/* Footer */
.footer {
    padding: 2.5rem 0;
    background-color: #111;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    margin: 0;
}

.footer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--primary-bg);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h2 {
        font-size: 3rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-visual {
        display: none; /* Hide complex visual on mobile for cleaner look, or adjust height */
    }

    .contact-wrapper {
        flex-direction: column;
        gap: 3rem;
    }
    
    .contact-section h3 {
        font-size: 2.5rem;
    }
    
    .visual-card {
        padding: 2rem;
        font-size: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column-reverse; /* Put edXTra link on top on mobile or just stack */
        gap: 1rem;
        text-align: center;
    }
}