/* --- Variables & Reset --- */
:root {
    --primary-color: #0f172a; /* Deep Navy (Slate 900) */
    --secondary-color: #334155; /* Charcoal (Slate 700) */
    --accent-color: #c5a059; /* Muted Gold */
    --accent-hover: #b08d4b;
    --light-bg: #f8fafc; /* Off White */
    --white: #ffffff;
    --text-color: #475569;
    --border-color: #e2e8f0;
    --font-main: 'Inter', sans-serif;
    --font-head: 'Manrope', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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: 80px 0;
}

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

.gold-text {
    color: var(--accent-color);
}

.text-white { color: var(--white); }
.text-white-dim { color: #cbd5e1; }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
}

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

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

.full-width {
    width: 100%;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 15px 0;
}

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

.logo-flex {
    display: flex;
    align-items: center;
    gap: 12px; /* Space between logo and text */
}

.ca-logo {
    height: 45px; /* Adjust this to make the photo smaller or larger */
    width: auto;
    filter: brightness(1.1); /* Ensures the logo pops against the white nav */
}

.logo-text {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    border-left: 1px solid var(--border-color); /* Subtle separator line */
    padding-left: 12px;
}

/* Mobile adjustments for the smaller logo */
@media (max-width: 768px) {
    .ca-logo {
        height: 35px;
    }
    .logo-text {
        font-size: 14px;
    }
}

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

.nav-links li a {
    font-size: 14px;
    font-weight: 500;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links li a:hover {
    color: var(--accent-color);
}

.btn-nav {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 4px;
}

.btn-nav:hover {
    background-color: var(--accent-color);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1486312338219-ce68d2c6f44d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
}

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

.hero-tagline {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #cbd5e1;
    max-width: 600px;
}

/* --- Trust Strip --- */
.trust-strip {
    background-color: var(--primary-color);
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.trust-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.trust-item .count {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.trust-item .label {
    color: #cbd5e1;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.section-subtitle {
    color: var(--accent-color);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-list {
    margin: 30px 0;
}

.feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.feature-list i {
    color: var(--accent-color);
    margin-right: 15px;
}

.text-link {
    color: var(--primary-color);
    font-weight: 700;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 2px;
}

.about-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* --- Services --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-top-color: var(--accent-color);
}

.icon-box {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--secondary-color);
}

.center-btn-container {
    text-align: center;
    margin-top: 50px;
}

/* --- Industries --- */
.industries {
    background-color: var(--primary-color);
    padding: 100px 0;
}

.industry-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.industry-list li {
    color: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 1.1rem;
}

.industry-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.industry-card {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
}

.industry-card i {
    font-size: 30px;
    color: var(--accent-color);
    display: block;
    margin-bottom: 15px;
}

/* --- Why Us --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    padding: 20px;
}

.feature-item h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    position: relative;
    padding-left: 15px;
}

.feature-item h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    height: 20px;
    width: 3px;
    background-color: var(--accent-color);
}

/* --- Contact --- */
.contact-section {
    background-color: var(--light-bg);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    background: var(--white);
    box-shadow: 0 10px 50px rgba(0,0,0,0.05);
    padding: 60px;
    border-radius: 8px;
}

.detail-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.detail-item i {
    color: var(--accent-color);
    font-size: 20px;
    margin-top: 5px;
}

.detail-item h5 {
    font-size: 1rem;
    margin-bottom: 5px;
}

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

.contact-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-form input, 
.contact-form select, 
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

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

/* --- Footer --- */
footer {
    background-color: #0b1120; /* Darker than primary */
    color: #94a3b8;
    padding: 80px 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
}

.social-links a {
    display: inline-block;
    margin-right: 15px;
    color: var(--white);
    font-size: 18px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.85rem;
}

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

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

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease-out;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease-out;
}

.visible {
    opacity: 1;
    transform: translate(0);
}

/* --- Responsive --- */
@media (max-width: 968px) {
    .hero h1 { font-size: 2.5rem; }
    .about-grid, .industry-layout, .contact-wrapper, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
    }
    
    .nav-links.active { display: flex; }
    
    .menu-toggle {
        display: block;
    }
    
    .bar {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--primary-color);
        margin: 5px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.about-image {
    display: flex;
    justify-content: center; /* Centers the small photo in the right column */
    align-items: flex-start;
}

.founder-card {
    background: var(--white);
    padding: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    width: 200px;
}

.passport-photo {
    width: 100%;
    height: 230px;
    object-fit: cover;
    object-position: top;
    border: 1px solid #eee;
    margin-bottom: 12px;
}

.founder-badge p {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.founder-badge .designation {
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* Responsive adjustment for mobile */
@media (max-width: 768px) {
    .founder-card {
        width: 170px;
        margin: 0 auto 20px;
    }
    .passport-photo {
        height: 190px;
    }
}

/* --- Wedding Announcement Overlay --- */
.wedding-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.92);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    animation: weddingFadeIn 0.6s ease;
}

.wedding-overlay.hidden {
    animation: weddingFadeOut 0.5s ease forwards;
    pointer-events: none;
}

@keyframes weddingFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes weddingFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.wedding-container {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    max-width: 900px;
    width: 90%;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    animation: weddingSlideUp 0.7s ease;
    position: relative;
    max-height: 90vh;
}

@keyframes weddingSlideUp {
    from { opacity: 0; transform: translateY(40px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.wedding-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(15, 23, 42, 0.7);
    border: none;
    color: white;
    font-size: 1.6rem;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.wedding-close:hover {
    background: var(--accent-color);
    transform: rotate(90deg);
}

.wedding-image {
    position: relative;
    min-height: 100%;
    overflow: hidden;
}

.wedding-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wedding-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.4), transparent);
}

.wedding-content {
    padding: 50px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

.wedding-ornament {
    color: var(--accent-color);
    font-size: 1.6rem;
    letter-spacing: 8px;
    margin: 5px 0;
}

.wedding-subtitle {
    font-family: var(--font-main);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--text-color);
    margin-top: 15px;
}

.wedding-names {
    font-family: var(--font-head);
    font-size: 2.8rem;
    color: var(--primary-color);
    margin: 15px 0;
    line-height: 1.2;
}

.wedding-amp {
    display: block;
    font-family: 'Georgia', serif;
    font-style: italic;
    font-size: 2rem;
    color: var(--accent-color);
    margin: 5px 0;
    font-weight: 400;
}

.wedding-divider {
    width: 80px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent-color), transparent);
    margin: 15px auto;
}

.wedding-text {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 25px;
    font-style: italic;
}

.wedding-events {
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 10px 0 25px;
}

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

.wedding-event-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4);
}

.wedding-event h3 {
    font-family: var(--font-head);
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.wedding-date {
    font-size: 0.95rem;
    color: var(--accent-color);
    font-weight: 600;
}

.wedding-event-separator {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--border-color), transparent);
}

.wedding-blessing {
    font-size: 0.9rem;
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 10px;
    max-width: 280px;
    line-height: 1.5;
}

.wedding-btn {
    margin-top: 20px;
    padding: 12px 35px;
    font-size: 0.9rem;
}

/* Wedding Responsive */
@media (max-width: 768px) {
    .wedding-overlay {
        align-items: flex-start;
        padding: 10px;
        overflow-y: auto;
    }

    .wedding-container {
        grid-template-columns: 1fr;
        max-height: none;
        width: 95%;
        border-radius: 16px;
        margin: auto;
    }

    .wedding-image {
        height: 200px;
        min-height: auto;
    }

    .wedding-content {
        padding: 25px 20px;
    }

    .wedding-ornament {
        font-size: 1.2rem;
        letter-spacing: 5px;
    }

    .wedding-names {
        font-size: 2rem;
        margin: 10px 0;
    }

    .wedding-amp {
        font-size: 1.5rem;
        margin: 3px 0;
    }

    .wedding-subtitle {
        font-size: 0.75rem;
        letter-spacing: 3px;
        margin-top: 10px;
    }

    .wedding-text {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .wedding-divider {
        margin: 10px auto;
    }

    .wedding-events {
        gap: 20px;
    }

    .wedding-event-icon {
        width: 45px;
        height: 45px;
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .wedding-event h3 {
        font-size: 0.9rem;
    }

    .wedding-date {
        font-size: 0.85rem;
    }

    .wedding-blessing {
        font-size: 0.8rem;
        max-width: 250px;
    }

    .wedding-btn {
        margin-top: 15px;
        padding: 10px 30px;
        font-size: 0.85rem;
    }

    .wedding-close {
        top: 10px;
        right: 12px;
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }
}

@media (max-width: 380px) {
    .wedding-image {
        height: 160px;
    }

    .wedding-content {
        padding: 20px 15px;
    }

    .wedding-names {
        font-size: 1.7rem;
    }

    .wedding-events {
        gap: 15px;
    }

    .wedding-event-icon {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}