@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #0F766E; /* Deep Teal */
    --primary-dark: #115E59; 
    --accent: #D97706; /* Warm Amber/Gold */
    --accent-hover: #B45309;
    --bg-light: #F9FAFB; /* Off-white for sections */
    --bg-gradient: linear-gradient(120deg, #F9FAFB 0%, #F3F4F6 100%);
    --text-main: #4B5563; /* Slate 600 */
    --text-dark: #111827; /* Gray 900 */
    --text-light: #ffffff;
    --font-family: 'Poppins', system-ui, sans-serif;
    --font-heading: 'Playfair Display', serif;
    
    --glass-bg: #ffffff;
    --glass-border: 1px solid rgba(0, 0, 0, 0.04);
    --glass-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-family); color: var(--text-main); background: var(--bg-gradient); line-height: 1.6; display: flex; flex-direction: column; min-height: 100vh; overflow-x: hidden; }

a { text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--text-dark); }

/* Clean & Modern Sticky Navbar */
.navbar { position: fixed; top: 0; left: 0; width: 100%; background: transparent; padding: 1.5rem 5%; display: flex; justify-content: space-between; align-items: center; z-index: 1000; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.navbar.scrolled { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); padding: 1rem 5%; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); border-bottom: 1px solid rgba(0,0,0,0.05); }

/* Logo Holder */
.logo { display: flex; align-items: center; }
.logo a { display: flex; align-items: center; justify-content: center; transition: opacity 0.3s ease; }
.logo a:hover { opacity: 0.8; }
.logo img { max-height: 80px; width: auto; object-fit: contain; transition: all 0.3s ease; } /* Slightly smaller for elegance */
.navbar.scrolled .logo img { max-height: 60px; }

/* Mobile Menu Toggle */
.menu-toggle { display: none; flex-direction: column; cursor: pointer; gap: 5px; z-index: 1001; }
.menu-toggle .bar { width: 25px; height: 2px; background-color: var(--text-dark); transition: all 0.3s ease-in-out; border-radius: 2px; }
.menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Modern Navigation Links */
.nav-wrapper { display: flex; align-items: center; justify-content: flex-end; flex: 1; margin-left: 3rem; }
.nav-links { display: flex; gap: 1rem; list-style: none; align-items: center; margin: 0; padding: 0; }
.nav-links a { color: rgba(255, 255, 255, 0.9); font-weight: 500; font-family: var(--font-family); font-size: 0.95rem; padding: 0.5rem 1rem; border-radius: 8px; transition: all 0.3s ease; display: inline-block; position: relative; }
.nav-links a:hover { color: var(--accent); background: transparent; }
.nav-links a.active { color: #ffffff; font-weight: 600; }
.nav-links a.active::after { content: ''; position: absolute; bottom: 2px; left: 1rem; right: 1rem; height: 2px; background: var(--accent); border-radius: 2px; }

/* Scrolled state overrides */
.navbar.scrolled .nav-links a { color: var(--text-main); }
.navbar.scrolled .nav-links a:hover { color: var(--accent); }
.navbar.scrolled .nav-links a.active { color: var(--primary); }
.navbar.scrolled .nav-links a.active::after { background: var(--primary); }

/* Dropdown CSS */
.dropdown { position: relative; display: inline-block; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: #ffffff; min-width: 200px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); border-radius: 12px; padding: 0.5rem 0; z-index: 1000; border: 1px solid rgba(0,0,0,0.04); margin-top: 10px; }
.dropdown:hover .dropdown-menu { display: block; animation: dropFade 0.2s ease forwards; }
.dropdown-menu li { display: block; margin: 0; }
.dropdown-menu a { display: block; padding: 0.8rem 1.2rem; text-align: left; font-size: 0.9rem; color: var(--text-main); font-weight: 500; border-radius: 0; }
.dropdown-menu a:hover { background: rgba(0, 0, 0, 0.02); color: var(--primary); padding-left: 1.5rem; }
@keyframes dropFade { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

.header-cta-group { display: flex; align-items: center; gap: 1rem; margin-left: 1rem; }
.btn-cta { background: var(--accent); color: #ffffff; border: 2px solid var(--accent); padding: 0.7rem 1.8rem; border-radius: 50px; font-weight: 600; font-family: var(--font-family); font-size: 0.95rem; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 0.5rem; text-align: center; box-shadow: 0 4px 6px -1px rgba(217, 119, 6, 0.3); }
.btn-cta:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #ffffff; transform: translateY(-2px); box-shadow: 0 10px 15px -3px rgba(217, 119, 6, 0.4); }

/* Global Layouts */
.container { max-width: 1200px; margin: 0 auto; padding: 5rem 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 3rem; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 2rem; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; } }

/* Split-Screen Hero Sections */
.hero { display: flex; min-height: 85vh; overflow: hidden; align-items: center; background: url('images/FCM-Hero-slider-.jpg') no-repeat center center; background-size: cover; position: relative; z-index: 1; }
.hero::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to right, rgba(15, 118, 110, 0.85) 0%, rgba(17, 24, 39, 0.6) 100%); z-index: -1; }
.hero-left { flex: 1; padding: 5rem 5%; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; }
.badge { display: inline-block; padding: 0.4rem 1.2rem; background: rgba(217, 119, 6, 0.15); color: #FBBF24; border-radius: 50px; font-weight: 600; font-size: 0.85rem; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 1.5px; width: fit-content; border: 1px solid rgba(217, 119, 6, 0.3); }
.hero-left h1 { font-size: 5rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--text-light); line-height: 1.1; letter-spacing: -0.01em; }
.hero-left p { font-size: 1.25rem; margin-bottom: 2.5rem; color: #E5E7EB; max-width: 650px; font-weight: 400; line-height: 1.7; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary-pill { background: var(--accent); color: white; border: 2px solid var(--accent); padding: 0.8rem 2.5rem; border-radius: 50px; font-weight: 600; font-family: var(--font-family); font-size: 1rem; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 0.5rem; box-shadow: 0 4px 6px -1px rgba(217, 119, 6, 0.3); }
.btn-primary-pill:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 10px 15px -3px rgba(217, 119, 6, 0.4); color: white; }
.btn-outline { background: transparent; color: var(--text-light); border: 2px solid rgba(255,255,255,0.3); padding: 0.8rem 2.5rem; border-radius: 50px; font-weight: 600; font-family: var(--font-family); font-size: 1rem; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 0.5rem; backdrop-filter: blur(5px); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: white; transform: translateY(-2px); }

/* Inner Page Headers */
.page-hero { display: flex; min-height: 60vh; overflow: hidden; border-bottom: var(--glass-border); background: url('images/FCM-Hero-section-image-1024x387.jpg') no-repeat center center; background-size: cover; position: relative; z-index: 1; align-items: center; justify-content: center; text-align: center; }
.page-hero::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.85)); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); z-index: -1; }
.page-hero-left { width: 100%; max-width: 800px; padding: 4rem 5%; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; z-index: 2; margin: 0 auto; }
.page-hero-left h2 { font-size: 3.8rem; font-weight: 800; color: var(--text-light); letter-spacing: -0.02em; text-shadow: 0 4px 25px rgba(0, 0, 0, 0.9); }
.breadcrumb { color: var(--text-light); font-weight: bold; margin-bottom: 1rem; font-size: 1.1rem; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9); }
.breadcrumb span { color: var(--primary); text-shadow: 0 2px 10px rgba(0,0,0,0.9); }

/* Right Side Hero Image container */
.hero-right { flex: 1; position: relative; min-height: 350px; display: flex; align-items: center; justify-content: center; z-index: 1; }
.hero-logo-circle { position: relative; width: 400px; height: 400px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 15px 40px rgba(255, 179, 0, 0.3); z-index: 2; margin: 0 auto; overflow: hidden; border: 8px solid white; transition: transform 0.5s ease; }
.hero-logo-circle:hover { transform: scale(1.03); }
.hero-logo-circle img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Decrease circle size specifically for Inner Pages */
.page-hero .hero-logo-circle { width: 280px; height: 280px; }
.page-hero .hero-logo-circle img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 900px) {
    .menu-toggle { display: flex; }
    .nav-wrapper { 
        position: absolute; top: 100%; left: 0; width: 100%; background: rgba(255, 255, 255, 0.98); 
        flex-direction: column; padding: 2rem 0; margin-left: 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1); border-top: 1px solid rgba(0,0,0,0.05);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); transition: clip-path 0.4s ease-in-out; 
        justify-content: center;
    }
    .nav-wrapper.active { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    .nav-links { flex-direction: column; gap: 1.5rem; margin-bottom: 2rem; width: 100%; text-align: center; }
    .nav-links a { display: block; width: 100%; padding: 1rem 0; border-radius: 0; text-align: center; }
    .dropdown-menu { position: relative; top: 0; left: 0; transform: none; background: transparent; box-shadow: none; border: none; padding: 0; display: none; margin-top: 0.5rem; }
    .dropdown:hover .dropdown-menu { display: block; animation: none; }
    .dropdown-menu a:hover { padding-left: 0; background: transparent; }
    .header-cta-group { margin-left: 0; }
    .hero, .page-hero { flex-direction: column; text-align: center; }
    .hero-left h1 { font-size: 3.2rem; }
    .hero-left p { margin: 0 auto 2rem; }
    .hero-buttons { justify-content: center; }
    .hero-logo-circle { margin: 2rem auto; }
    .hero-logo-circle img { max-width: 300px; }
    .home-hero-image { max-width: 300px; margin: 2rem auto; }
    .services-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .split-section { grid-template-columns: 1fr; text-align: center; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .social-links { justify-content: center; }
}
@media (max-width: 600px) {
    .hero-left h1 { font-size: 2.5rem; }
    .page-hero-left h2 { font-size: 2.2rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .masonry { column-count: 1; }
    .grid-2 { grid-template-columns: 1fr; }
}

/* Services & About Sections */
.about-section { padding: 5rem 2rem; text-align: center; }
.about-section h2 { font-size: 2.5rem; margin-bottom: 1rem; color: var(--text-dark); }
.about-section p { font-size: 1.2rem; max-width: 800px; margin: 0 auto; color: var(--text-main); }
.services-section { padding: 5rem 2rem; }
.services-section h2 { text-align: center; font-size: 2.5rem; margin-bottom: 3rem; color: var(--text-dark); }
.services-section .subtitle { text-align: center; max-width: 800px; margin: -2rem auto 4rem; font-size: 1.2rem; color: var(--text-main); }

/* Services Grid Layout */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; text-align: center; margin-top: 2rem; }
.service-item { display: flex; flex-direction: column; align-items: center; background: var(--glass-bg); backdrop-filter: blur(12px); padding: 2.5rem 2rem; border-radius: 20px; border: var(--glass-border); transition: transform 0.3s ease, box-shadow 0.3s ease; box-shadow: var(--glass-shadow); }
.service-item:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); }
.service-item img { width: 140px; aspect-ratio: 1/1; border-radius: 50%; object-fit: cover; margin-bottom: 1.5rem; border: 4px solid white; box-shadow: var(--glass-shadow); }
.service-item h3 { margin-bottom: 1rem; font-size: 1.4rem; }
.service-item p { margin-bottom: 1.5rem; color: var(--text-main); }

/* Stats Section */
.stats-section { position: relative; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #1a1a1a; padding: 5rem 2rem; text-align: center; box-shadow: inset 0 0 20px rgba(0,0,0,0.05); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; }
.stat-box { display: flex; flex-direction: column; align-items: center; }
.stat-number { background: white; color: var(--accent); width: 140px; height: 140px; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; font-weight: bold; margin-bottom: 1.5rem; border-radius: 50%; box-shadow: 0 10px 25px rgba(0,0,0,0.1); transition: transform 0.3s ease; }
.stat-number:hover { transform: scale(1.05); }
.stat-box p { font-size: 1.2rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

/* Progress Bars (Why Choose Us) */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.blue-box { background: var(--glass-bg); backdrop-filter: blur(12px); color: var(--text-dark); padding: 3rem; border-radius: 16px; border: var(--glass-border); box-shadow: var(--glass-shadow); }
.blue-box h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.progress-bar-wrap { margin-bottom: 2rem; }
.progress-bar-wrap h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.progress-bar-wrap p { font-size: 0.95rem; margin-bottom: 1rem; color: var(--text-main); }
.progress-track { background: rgba(255,255,255,0.5); border: var(--glass-border); height: 24px; width: 100%; border-radius: 12px; overflow: hidden; }
.progress-fill { background: var(--accent); height: 100%; }

/* Cards */
.card { background: #ffffff; border-radius: 16px; border: 1px solid rgba(0, 0, 0, 0.05); overflow: hidden; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.card:hover { transform: translateY(-5px); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.card img { width: 100%; height: 250px; object-fit: cover; border-bottom: 1px solid rgba(0,0,0,0.05); }
.card-content { padding: 2rem; }
.card h3 { color: var(--text-dark); margin-bottom: 0.8rem; }
.card p { color: var(--text-main); }

/* Forms */
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; margin-bottom: 0.5rem; color: var(--text-dark); font-weight: 500; }
.form-control { width: 100%; padding: 0.8rem; border: var(--glass-border); border-radius: 8px; background: rgba(255,255,255,0.6); color: var(--text-dark); backdrop-filter: blur(5px); }
.form-control:focus { border-color: var(--primary); background: white; outline: none; }
.btn-submit { background: var(--primary); color: #1a1a1a; border: none; padding: 1rem 2rem; cursor: pointer; border-radius: 8px; font-weight: bold; transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 0.5px; }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(255, 179, 0, 0.3); color: #000000; background: var(--accent); }

/* Footer */
.footer { background: #111827; color: #9CA3AF; padding: 5rem 5% 2rem; margin-top: auto; border-top: 4px solid var(--accent); position: relative; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; max-width: 1200px; margin: 0 auto 3rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; text-align: center; } }
.footer-logo { display: inline-block; background: white; padding: 10px; border-radius: 8px; margin-bottom: 1.5rem; max-width: 180px; }
.footer h3 { font-size: 1.2rem; margin-bottom: 1.5rem; color: #ffffff; font-weight: 700; letter-spacing: 0.5px; position: relative; padding-bottom: 0.5rem; text-transform: uppercase; }
.footer h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--primary); }
@media (max-width: 600px) { .footer h3::after { left: 50%; transform: translateX(-50%); } }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 0.8rem; }
.footer a { color: #aaaaaa; text-decoration: none; display: inline-block; transition: all 0.3s ease; font-size: 0.95rem; }
.footer a:hover { color: var(--primary); transform: translateX(5px); }
@media (max-width: 600px) { .footer a:hover { transform: translateY(-2px); } }
.footer-contact-info p { margin-bottom: 0.8rem; font-size: 0.95rem; }
.footer .bottom-tag { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; font-size: 0.9rem; color: #777777; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.footer-sub-nav { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 0.5rem; }
.footer-sub-nav a { color: #999; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }
.footer-sub-nav a:hover { color: white; transform: translateY(-2px); }

/* Footer Social Links */
.social-links { display: flex; gap: 0.8rem; margin-top: 1.5rem; flex-wrap: wrap; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 50%; transition: all 0.3s ease; margin-bottom: 0 !important; }
.social-links a:hover { background: var(--primary); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(255, 179, 0, 0.4); border-color: var(--primary); }
.social-links svg { width: 20px; height: 20px; fill: #ffffff; transition: fill 0.3s ease; }
.social-links a:hover svg { fill: #1a1a1a; }

/* Decorative Elements & Illustrations */
.relative-section { position: relative; z-index: 1; }
.bg-shape-1, .bg-shape-2, .bg-shape-3, .bg-shape-4, .dot-pattern { pointer-events: none; }
.bg-shape-1, .bg-shape-2 { position: absolute; border-radius: 50%; filter: blur(80px); z-index: -1; opacity: 0.15; animation: floatBlob 12s infinite alternate ease-in-out; }
.bg-shape-1 { width: 400px; height: 400px; background: var(--primary); top: -50px; left: -100px; }
.bg-shape-2 { width: 350px; height: 350px; background: var(--accent); bottom: -50px; right: -50px; animation-delay: -6s; }

/* New Abstract Shapes */
.bg-shape-3 { position: absolute; width: 250px; height: 250px; border: 30px solid rgba(255, 152, 0, 0.1); border-radius: 50%; z-index: -1; animation: floatBlob 10s infinite alternate ease-in-out; }
.bg-shape-4 { position: absolute; width: 350px; height: 350px; background: linear-gradient(135deg, rgba(0, 229, 255, 0.15), transparent); border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; z-index: -1; animation: morphBlob 8s infinite alternate ease-in-out; }

@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 50px) scale(1.1); }
}
@keyframes morphBlob {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: translateY(0) rotate(0deg) scale(1); }
    100% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; transform: translateY(30px) rotate(45deg) scale(1.05); }
}

/* SVG Dot Grid Pattern */
.dot-pattern { position: absolute; width: 150px; height: 150px; background-image: radial-gradient(var(--accent) 20%, transparent 20%); background-size: 20px 20px; opacity: 0.2; z-index: -1; }

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.floating-whatsapp:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    color: white;
}
.floating-whatsapp svg {
    width: 35px;
    height: 35px;
    fill: currentColor;
}
@media (max-width: 600px) {
    .floating-whatsapp { bottom: 20px; right: 20px; width: 50px; height: 50px; }
    .floating-whatsapp svg { width: 30px; height: 30px; }
}