/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-maroon: #8B1538;
    --color-maroon-dark: #6B1028;
    --color-maroon-light: #A01D48;
    --color-gold: #F5A623;
    --color-gold-dark: #E69500;
    --color-brown: #5D4037;
    --color-brown-dark: #3D2817;
    --color-cream: #FFF8F0;
    --color-white: #ffffff;
    --color-text: #2d2d2d;
    --color-text-light: #666666;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

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

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--color-maroon) 0%, var(--color-maroon-light) 50%, var(--color-maroon-dark) 100%);
    color: var(--color-white);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: radial-gradient(circle at 2px 2px, white 1px, transparent 0);
    background-size: 40px 40px;
}

/* Navigation */
.nav {
    position: relative;
    padding: 1.5rem 0;
    z-index: 100;
}

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

.logo svg {
    height: 3rem;
    width: auto;
}

.nav-links {
    display: none;
    gap: 2rem;
}

/* Mobile Menu Styles */
.nav-links.active {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--color-maroon) 0%, var(--color-maroon-light) 50%, var(--color-maroon-dark) 100%);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    z-index: 1000;
    padding: 2rem;
    animation: slideIn 0.3s ease-out;
}

.nav-link {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--color-gold);
    transform: translateY(-2px);
}

.nav-links.active .nav-link {
    animation: fadeInUp 0.4s ease-out forwards;
    opacity: 0;
}

.nav-links.active .nav-link:nth-child(1) {
    animation-delay: 0.1s;
}

.nav-links.active .nav-link:nth-child(2) {
    animation-delay: 0.2s;
}

.nav-links.active .nav-link:nth-child(3) {
    animation-delay: 0.3s;
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
}

.mobile-menu-btn span {
    width: 1.5rem;
    height: 2px;
    background: var(--color-white);
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger menu animation */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile menu overlay */
.nav-links.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    z-index: -1;
}

/* Mobile menu close button hint */
.nav-links.active::after {
    content: 'Close Menu';
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

.hero-text {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-brown-dark);
    box-shadow: 0 10px 25px rgba(245, 166, 35, 0.3);
}

.btn-primary:hover {
    background: var(--color-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(245, 166, 35, 0.4);
}

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

.btn-outline:hover {
    background: var(--color-gold);
    color: var(--color-brown-dark);
    border-color: var(--color-gold);
}

.btn-full {
    width: 100%;
}

/* Wave Divider */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    line-height: 0;
}

.wave-divider svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-alt {
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-white) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-maroon);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-brown);
    max-width: 42rem;
    margin: 0 auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    gap: 2rem;
    max-width: 75rem;
    margin: 0 auto;
}

.feature-card {
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-cream) 100%);
    border: 1px solid rgba(245, 166, 35, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    color: var(--color-white);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-maroon);
    margin-bottom: 1rem;
}

.feature-desc {
    color: rgba(93, 64, 55, 0.8);
    line-height: 1.7;
}

/* Services Grid */
.services-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 87.5rem;
    margin: 0 auto;
}

.service-card {
    background: var(--color-white);
    border: 2px solid rgba(139, 21, 56, 0.1);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--color-gold);
}

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--color-maroon);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: background 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--color-gold);
}

.service-icon svg {
    color: var(--color-white);
}

.service-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-maroon);
    margin-bottom: 0.75rem;
}

.service-desc {
    font-size: 0.875rem;
    color: rgba(93, 64, 55, 0.8);
    line-height: 1.6;
}

/* Tailored Solutions */
.tailored-solutions {
    background: var(--color-white);
    border: 2px solid var(--color-gold);
    border-radius: 1rem;
    padding: 3rem 2rem;
    margin-top: 3rem;
    text-align: center;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

.tailored-solutions h3 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--color-maroon);
    margin-bottom: 1rem;
}

.tailored-solutions p {
    color: var(--color-brown);
    line-height: 1.7;
}

/* Process Grid */
.process-grid {
    display: grid;
    gap: 2rem;
    max-width: 62.5rem;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 1rem;
}

.process-number {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-weight: 700;
    font-size: 1.25rem;
}

.process-content {
    flex: 1;
}

.process-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-maroon);
    margin-bottom: 0.5rem;
}

.process-title svg {
    flex-shrink: 0;
    color: var(--color-maroon);
}

.process-desc {
    color: rgba(93, 64, 55, 0.8);
    line-height: 1.7;
    margin-left: 1.75rem;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 4rem;
    max-width: 62.5rem;
    margin-left: auto;
    margin-right: auto;
}

.benefit-card {
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    color: var(--color-white);
}

.benefit-card-1 {
    background: linear-gradient(135deg, var(--color-maroon) 0%, var(--color-maroon-dark) 100%);
}

.benefit-card-2 {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
}

.benefit-card-3 {
    background: linear-gradient(135deg, var(--color-brown) 0%, var(--color-brown-dark) 100%);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.benefit-card-2 .benefit-icon {
    color: var(--color-white);
}

.benefit-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.benefit-card p {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    position: relative;
    background: linear-gradient(135deg, var(--color-maroon) 0%, var(--color-maroon-light) 50%, var(--color-maroon-dark) 100%);
    color: var(--color-white);
    padding: 4rem 0;
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: radial-gradient(circle at 2px 2px, white 1px, transparent 0);
    background-size: 40px 40px;
}

.cta-header {
    position: relative;
    text-align: center;
    margin-bottom: 3rem;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
}

.cta-grid {
    position: relative;
    display: grid;
    gap: 2rem;
    max-width: 62.5rem;
    margin: 0 auto;
}

/* Contact Form */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 2rem;
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-brown-dark);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    background: var(--color-white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(93, 64, 55, 0.6);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Contact Info */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 2rem;
}

.contact-info-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    gap: 0.75rem;
}

.contact-item svg {
    flex-shrink: 0;
    color: var(--color-gold);
    margin-top: 0.25rem;
}

.contact-label {
    font-size: 0.875rem;
    opacity: 0.7;
}

.partner-benefits {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    border-radius: 1rem;
    padding: 1.5rem;
}

.partner-benefits h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-brown-dark);
    margin-bottom: 1rem;
}

.partner-benefits ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.partner-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(61, 40, 23, 0.9);
}

.partner-benefits li span {
    color: var(--color-brown-dark);
    font-weight: 700;
}

/* Footer */
.footer {
    background: var(--color-brown-dark);
    color: var(--color-white);
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand svg {
    height: 3rem;
    width: auto;
    margin-bottom: 1rem;
}

.footer-desc {
    opacity: 0.7;
    line-height: 1.7;
    max-width: 28rem;
}

.footer-links h4,
.footer-social h4 {
    color: var(--color-gold);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-gold);
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--color-gold);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    opacity: 0.6;
}

/* Responsive Styles */
@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }

    .logo svg {
        height: 4rem;
    }

    .hero-title {
        font-size: 3.75rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .section {
        padding: 6rem 0;
    }

    .section-title {
        font-size: 3rem;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .tailored-solutions {
        padding: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }

    .section-title {
        font-size: 3.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .cta-title {
        font-size: 3rem;
    }
}

@media (max-width: 767px) {
    .hero-content {
        padding: 2rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }
}
