/* CSS Variables for Brand Colors */
:root {
    /* Brand Colors - Updated based on Brochure (Black & Gold/Tan) */
    --color-primary: #111111; /* Rich Black */
    --color-secondary: #C5A059; /* Gold/Tan */
    --color-accent: #E5C585; /* Lighter Gold */
    --color-text: #333333;
    --color-text-light: #555555;
    --color-bg: #ffffff;
    --color-bg-light: #f9f9f9;
    --color-white: #ffffff;

    /* Fonts */
    --font-heading: 'Unbounded', sans-serif; /* Clean Sans-serif as requested */
    --font-body: 'Outfit', sans-serif;

    /* Spacing */
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;

    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px rgba(0,0,0,0.1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-lg) 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
    font-size: 1.1rem;
}

.highlight {
    color: var(--color-secondary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    white-space: nowrap; /* Prevent text wrapping */
}

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

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

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

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

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Header */
.header {
    padding: .5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.logo img {
    height: 50px; /* Adjusted for alignment with text */
    width: auto;
    display: block;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1;
}

.nav-list {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--color-primary);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-secondary);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.btn-primary {
    padding: 0.5rem 1.5rem;
    color: var(--color-white);
}

.nav-link.btn-primary::after {
    display: none;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: 150px; /* Offset for fixed header */
    padding-bottom: var(--spacing-lg);
    background-color: var(--color-bg-light);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap; /* Allow buttons to stack */
}

/* Hero Image */
.hero-img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(197, 160, 89, 0.2); /* Subtle Gold border */
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 600px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 212, 255, 0.2);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 212, 255, 0.1);
    color: var(--color-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* About */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(197, 160, 89, 0.1);
}

.about-content p {
    margin-bottom: 1.5rem;
}

.feature-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: bold;
}

/* Contact */
/* Contact Section Refined */
.contact {
    background-color: var(--color-bg-light);
    padding-bottom: 6rem;
}

.contact-box {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    max-width: 1100px; /* Wider card */
    margin: 0 auto;
}

/* Left Panel: Info */
.contact-info-side {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Decorative Circle */
.contact-info-side::before {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(197, 160, 89, 0.15); /* Gold tint */
    z-index: 0;
}

.info-title {
    font-size: 1.8rem;
    color: var(--color-white);
    margin-bottom: 0.5rem;
    z-index: 1;
}

.info-subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
    font-size: 1rem;
    z-index: 1;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 2.5rem; /* More spacing */
    z-index: 1;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

.icon-circle {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.08); /* Darker transparent */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.info-item:hover .icon-circle {
    background-color: var(--color-secondary);
    transform: scale(1.1);
}

.icon-circle svg {
    color: var(--color-secondary);
    width: 22px;
    height: 22px;
}

.info-item:hover .icon-circle svg {
    color: var(--color-primary); /* Icon turns dark on gold bg */
}

.info-text h4 {
    font-size: 1.1rem;
    color: var(--color-white);
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.info-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Right Panel: Form */
.contact-form-side {
    padding: 3.5rem;
    background-color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Responsive adjustment for Grid */
@media (max-width: 900px) {
    .contact-box {
        grid-template-columns: 1fr;
    }

    .contact-info-side {
        padding: 3rem 2rem;
    }

    .contact-form-side {
        padding: 3rem 2rem;
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
    box-sizing: border-box; /* Explicitly set */
    margin: 0; /* Remove default margins */
}


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

.input-error {
    border-color: #ff4757 !important;
}

.input-success {
    border-color: #2ed573 !important;
}


.error-message {
    color: #ff4757;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: block;
}

.form-status {
    margin-top: 1rem;
    text-align: center;
    font-weight: 600;
}

.form-status.success {
    color: #2ed573;
}

.form-status.error {
    color: #ff4757;
}

/* Footer */
.footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 4rem 0 0;
}

/* Improved Footer Contact Items */
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.2rem;
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    line-height: 1.4;
    transition: transform 0.2s;
}

.footer-contact-item:hover {
    color: var(--color-white);
    transform: translateX(5px);
}

.footer-contact-item svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--color-secondary); /* Gold icon */
}

/* Footer Container Adjustment */
.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr; /* Give more space to Connect column */
    gap: 2rem;
    margin-bottom: 3rem;
}




.footer-logo {
    display: block;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 192px; /* Adjust size for footer */
    width: auto;
}

.footer h4 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer ul li {
    margin-bottom: 0.8rem;
}

.footer ul li a {
    color: rgba(255,255,255,0.7);
}

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

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

.social-links a {
    color: var(--color-white);
    opacity: 0.8;
}

.social-links a:hover {
    opacity: 1;
    transform: scale(1.1);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .header-container {
        padding: 0 var(--spacing-sm);
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }

    .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        background-color: var(--color-primary);
        transition: all 0.3s ease-in-out;
    }

    .mobile-menu-btn.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

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

    .mobile-menu-btn.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav {
        position: fixed;
        left: -100%;
        top: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--color-white);
        flex-direction: column;
        justify-content: center;
        transition: 0.3s;
        text-align: center;
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 2rem;
    }

    .hero-container,
    .about-container,
    .footer-container {
        grid-template-columns: 1fr;
    }

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

    .footer-logo {
        margin: 0 auto 1rem;
        display: inline-block; /* Helps with centering if parent has text-align center */
    }

    .footer-contact-item {
        justify-content: center;
    }

    .hero {
        padding-top: 100px;
        text-align: center;
    }

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

    .hero-subtitle {
        margin: 0 auto 2rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .about-image {
        order: -1;
    }
}

/* Why Choose Us Section */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* Mobile default */
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 600px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr); /* Two pairs (2x2) */
    }
}

@media (min-width: 1024px) {
    .why-choose-grid {
        grid-template-columns: repeat(4, 1fr); /* Full space show all together */
    }
}

.why-choose-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, background 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.why-choose-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.why-choose-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(197, 160, 89, 0.1); /* Gold tint */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--color-secondary);
}

.why-choose-icon svg {
    width: 32px;
    height: 32px;
}

.why-choose-item h3 {
    color: var(--color-secondary);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.why-choose-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
}
