/* 
   VN Associates - Global CSS Stylesheet
   Design System: Navy Blue (#0A2540), Gold (#C9A227), White (#FFFFFF), Light Gray (#F8F9FA)
   Fonts: Poppins (Headings), Inter (Body)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    /* Colors */
    --primary: #0B477D;
    --primary-dark: #08345C;
    --primary-light: #1A5E96;
    --accent: #C9A227;
    --accent-hover: #AA8417;
    --accent-light: rgba(201, 162, 39, 0.1);
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --text-dark: #1E293B;
    --text-muted: #64748B;
    --text-light: #94A3B8;
    --border-color: #E2E8F0;
    
    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadow & Effects */
    --shadow-sm: 0 2px 4px rgba(10, 37, 64, 0.05);
    --shadow-md: 0 8px 20px rgba(10, 37, 64, 0.06);
    --shadow-lg: 0 16px 36px rgba(10, 37, 64, 0.1);
    --shadow-gold: 0 10px 25px rgba(201, 162, 39, 0.15);
    --glass-bg: rgba(10, 37, 64, 0.85);
    --glass-border: rgba(255, 255, 255, 0.08);
    
    /* Layout & Transitions */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --max-width: 1280px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    pointer-events: none; /* Disable browser visual search/edit hover overlays on images */
}

svg {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Utility Containers & Grids */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

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

.section-dark {
    background-color: var(--primary);
    color: var(--bg-white);
}
.section-dark h2, .section-dark h3, .section-dark p {
    color: var(--bg-white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    text-transform: capitalize;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.section-dark .section-header p {
    color: var(--text-light);
}

/* Typography Hierarchy */
.text-accent {
    color: var(--accent) !important;
}
.text-white {
    color: var(--bg-white) !important;
}
.font-semibold {
    font-weight: 600;
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    gap: 0.5rem;
}

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

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

.btn-secondary {
    background-color: transparent;
    border-color: var(--accent);
    color: var(--accent);
}

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

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

.btn-outline-white:hover {
    background-color: var(--bg-white);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Glassmorphism Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 1.2rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.header.scrolled {
    padding: 0.8rem 0;
    box-shadow: var(--shadow-md);
}

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

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

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.1;
    letter-spacing: 0.3px;
    transition: var(--transition-smooth);
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 0.58rem;
    font-weight: 600;
    color: #707070;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    margin-top: 0.25rem;
    padding-top: 0.25rem;
    border-top: 1px solid #707070;
    width: 100%;
    transition: var(--transition-smooth);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-link:hover, .nav-link.active {
    color: var(--accent);
}

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

.nav-cta {
    display: flex;
    align-items: center;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--primary);
    margin: 6px 0;
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    display: flex;
    align-items: center;
    color: var(--text-dark);
    padding-top: 8rem;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.08) 0%, rgba(201, 162, 39, 0) 70%);
    top: -100px;
    right: -100px;
    z-index: 1;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-tagline {
    background: rgba(201, 162, 39, 0.12);
    border: 1px solid rgba(201, 162, 39, 0.3);
    color: var(--accent);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero h1 span {
    color: var(--accent);
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
    animation: fadeIn 1.2s ease-out;
}

.hero-img-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.hero-img {
    border-radius: var(--radius-lg);
    transition: var(--transition-smooth);
}

.hero-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 50%);
}

/* Floating Card inside Hero */
.hero-floating-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--bg-white);
    color: var(--primary);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 4s ease-in-out infinite;
    z-index: 3;
}

.hero-floating-card .card-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-floating-card .card-title {
    font-weight: 700;
    font-size: 1.1rem;
}

.hero-floating-card .card-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Company Highlights / Stats Section */
.highlights {
    background-color: var(--bg-white);
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.highlight-item {
    padding: 1.5rem;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
}

.highlight-item:hover {
    transform: translateY(-5px);
}

.highlight-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.highlight-num span {
    color: var(--accent);
}

.highlight-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Service Cards (Home & Services Page Overview) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--bg-light);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.8rem;
    transition: var(--transition-fast);
}

.service-card:hover .service-icon {
    background-color: var(--primary);
    color: var(--accent);
    transform: rotateY(180deg);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
    flex-grow: 1;
}

.service-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
}

.service-link i {
    font-size: 0.8rem;
    transition: var(--transition-fast);
}

.service-card:hover .service-link {
    color: var(--accent);
}

.service-card:hover .service-link i {
    transform: translateX(4px);
}

/* Why Choose Us & About Story Features */
.features-section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.features-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.features-visual img {
    border-radius: var(--radius-lg);
}

.features-visual-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: var(--primary);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    text-align: center;
    box-shadow: var(--shadow-md);
    font-family: var(--font-heading);
}

.features-visual-badge .badge-years {
    font-size: 1.6rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.features-visual-badge .badge-text {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 2.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.feature-icon-wrapper {
    width: 36px;
    height: 36px;
    background-color: var(--accent-light);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Industries Served Section */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.industry-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
}

.industry-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.industry-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1.5rem auto;
    background-color: var(--bg-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.industry-card:hover .industry-icon {
    background-color: var(--accent);
    color: var(--primary);
}

.industry-card h4 {
    font-size: 1.05rem;
    font-weight: 600;
}

/* Modern Testimonial Slider */
.testimonial-slider-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.testimonial-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 1rem;
    opacity: 0.4;
    transition: opacity 0.6s ease;
}

.testimonial-slide.active {
    opacity: 1;
}

.testimonial-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    position: relative;
}

.testimonial-card::before {
    content: '“';
    position: absolute;
    top: 10px;
    left: 30px;
    font-family: Georgia, serif;
    font-size: 8rem;
    color: rgba(201, 162, 39, 0.1);
    line-height: 1;
}

.testimonial-stars {
    color: var(--accent);
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.testimonial-client {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.client-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-light);
}

.client-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
}

.client-company {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 2rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-color);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot.active {
    background-color: var(--accent);
    transform: scale(1.3);
}

/* Call To Action Block */
.cta-section {
    position: relative;
    background: radial-gradient(circle at top left, var(--primary-light) 0%, var(--primary-dark) 100%);
    padding: 6rem 0;
    text-align: center;
    color: var(--bg-white);
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.05) 0%, rgba(201, 162, 39, 0) 70%);
    bottom: -100px;
    left: -100px;
    pointer-events: none;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

/* Global Footer Styles */
.footer {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    padding: 5rem 0 2rem 0;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
    gap: 3.5rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-brand .logo-text {
    color: var(--bg-white);
}

.footer-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
}

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

.social-link {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition-fast);
}

.social-link:hover {
    background-color: var(--accent);
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--bg-white);
    margin-bottom: 1.8rem;
    position: relative;
    padding-bottom: 0.6rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

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

.footer-link {
    color: var(--text-light);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-link:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer-contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-contact-icon {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Sub-Pages Header / Banner */
.page-banner {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: var(--text-dark);
    padding: 10rem 0 5rem 0;
    text-align: center;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.page-banner h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.breadcrumbs a:hover {
    color: var(--accent);
}

.breadcrumbs span {
    color: var(--accent);
}

/* About Page - Mission, Vision, Values */
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.mv-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--accent);
}

.mv-icon {
    width: 50px;
    height: 50px;
    background-color: var(--accent-light);
    color: var(--accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.mv-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.value-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.2rem 1.8rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.value-icon {
    width: 60px;
    height: 60px;
    background-color: var(--bg-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    transition: var(--transition-fast);
}

.value-card:hover .value-icon {
    background-color: var(--primary);
    color: var(--accent);
}

.value-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* About Page - Leadership Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.team-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.team-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.team-card:hover .team-image {
    transform: scale(1.06);
}

.team-socials {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--bg-white);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    display: flex;
    gap: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    z-index: 10;
}

.team-card:hover .team-socials {
    bottom: 20px;
}

.team-socials a {
    color: var(--primary);
    font-size: 1rem;
}

.team-socials a:hover {
    color: var(--accent);
}

.team-info {
    padding: 1.8rem;
    text-align: center;
}

.team-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.team-role {
    font-size: 0.88rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.8rem;
}

.team-bio {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Certifications Section */
.certifications-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    opacity: 0.8;
}

.cert-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.cert-logo i {
    color: var(--accent);
    font-size: 1.5rem;
}

/* Corporate Timeline Component */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    padding: 2rem 0;
    position: relative;
    width: 50%;
    clear: both;
}

.timeline-item-left {
    float: left;
    padding-right: 3rem;
    text-align: right;
}

.timeline-item-right {
    float: right;
    padding-left: 3rem;
    text-align: left;
}

.timeline-node {
    width: 20px;
    height: 20px;
    background-color: var(--bg-white);
    border: 4px solid var(--accent);
    border-radius: 50%;
    position: absolute;
    top: 2.2rem;
    left: 50%;
    margin-left: -10px;
    z-index: 5;
    transition: var(--transition-fast);
}

.timeline-item:hover .timeline-node {
    background-color: var(--accent);
    box-shadow: 0 0 0 6px var(--accent-light);
}

.timeline-content {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-content {
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.timeline-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.timeline-clearfix {
    clear: both;
}

/* Services Page Detail Layout */
.service-pillar-section {
    border-bottom: 1px solid var(--border-color);
}

.service-pillar-section:last-child {
    border-bottom: none;
}

.service-pillar-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: flex-start;
}

.service-pillar-sidebar {
    position: sticky;
    top: 100px;
}

.service-pillar-sidebar .icon-box {
    width: 70px;
    height: 70px;
    background-color: var(--accent-light);
    color: var(--accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-pillar-sidebar h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.service-pillar-sidebar p {
    color: var(--text-muted);
}

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

.subservice-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.2rem;
    transition: var(--transition-smooth);
}

.subservice-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.subservice-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.subservice-card h3 i {
    color: var(--accent);
    font-size: 1.1rem;
}

.subservice-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}

.subservice-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.subservice-features li {
    font-size: 0.88rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.subservice-features li i {
    color: var(--accent);
    font-size: 0.85rem;
}

/* Resources Page Layout */
.resources-controls {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: center;
}

.search-box {
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 1.1rem 1.5rem 1.1rem 3.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.98rem;
    color: var(--text-dark);
    outline: none;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.search-box input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.search-box i {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
}

.filter-pills {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.filter-pill {
    padding: 0.7rem 1.4rem;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-pill:hover, .filter-pill.active {
    background-color: var(--primary);
    color: var(--bg-white);
    border-color: var(--primary);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.2rem;
}

.resources-grid.no-results {
    display: block;
    text-align: center;
    padding: 4rem 0;
}

.no-results-msg {
    font-size: 1.2rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.no-results-msg i {
    font-size: 3rem;
    color: var(--text-light);
}

.blog-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.blog-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background-color: var(--accent-light);
    color: var(--accent-hover);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.blog-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    gap: 1.2rem;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.blog-card h3 {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.blog-card h3 a:hover {
    color: var(--accent);
}

.blog-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-card-link {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
}

.blog-card:hover .blog-card-link {
    color: var(--accent);
}

.blog-card:hover .blog-card-link i {
    transform: translateX(3px);
}

/* Contact Page Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 4rem;
    align-items: flex-start;
}

.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
}

.contact-info-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.2rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 1.2rem;
}

.contact-info-icon {
    width: 45px;
    height: 45px;
    background-color: var(--accent-light);
    color: var(--accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-details h3 {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
}

.contact-info-details p {
    color: var(--text-muted);
    font-size: 0.92rem;
    white-space: pre-line;
}

.contact-info-details a:hover {
    color: var(--accent);
}

/* Custom Maps Mockup */
.map-container {
    width: 100%;
    height: 350px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: relative;
    background-color: var(--bg-light);
    transition: var(--transition-smooth);
}

.map-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    background: linear-gradient(135deg, #DFE3E8 0%, #C8D0D9 100%);
    position: relative;
}

.map-accent-line {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 30% 40%, rgba(201, 162, 39, 0.2) 0%, rgba(201, 162, 39, 0) 50%),
        radial-gradient(circle at 70% 60%, rgba(10, 37, 64, 0.1) 0%, rgba(10, 37, 64, 0) 60%);
    pointer-events: none;
}

.map-pin {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    border: 3px solid var(--accent);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-md);
    animation: bounce 2s infinite;
}

.map-pin i {
    transform: rotate(45deg);
    color: var(--accent);
    font-size: 1.2rem;
}

.map-popup {
    background-color: var(--bg-white);
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
}

/* Contact Form Styling */
.contact-form-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 3.5rem;
    box-shadow: var(--shadow-md);
}

.form-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group-full {
    grid-column: span 2;
}

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

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
    background-color: var(--bg-white);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

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

/* Validation Indicators */
.form-group.error input, .form-group.error select, .form-group.error textarea {
    border-color: #E11D48;
}

.form-error-msg {
    font-size: 0.8rem;
    color: #E11D48;
    font-weight: 500;
    display: none;
}

.form-group.error .form-error-msg {
    display: block;
}

/* Success Modal & Loading State */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(10, 37, 64, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background-color: var(--bg-white);
    padding: 3.5rem;
    border-radius: var(--radius-md);
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(34, 197, 94, 0.1);
    color: #22C55E;
    font-size: 2.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

.modal-content h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}

.modal-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Loader Styles */
.loader-spin {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 0.8s linear infinite;
    display: none;
}

.btn.loading .loader-spin {
    display: inline-block;
}

.btn.loading .btn-text {
    opacity: 0.8;
}

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

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

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0) rotate(-45deg);
    }
    50% {
        transform: translateY(-12px) rotate(-45deg);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Breakpoints */

@media (max-width: 1100px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 960px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-desc {
        margin: 0 auto 2rem auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-floating-card {
        left: 20px;
        bottom: 20px;
    }
    
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .features-section-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .timeline::after {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 3.5rem;
        padding-right: 0;
        float: none;
    }
    
    .timeline-item-left {
        text-align: left;
    }
    
    .timeline-node {
        left: 20px;
        margin-left: -10px;
    }
    
    .service-pillar-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .service-pillar-sidebar {
        position: static;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mv-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4.5rem 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    /* Mobile Navigation Drawer */
    .mobile-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--primary-dark);
        border-left: 1px solid var(--glass-border);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 6rem 2.5rem 3rem 2.5rem;
        gap: 2rem;
        transition: var(--transition-smooth);
        z-index: 999;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
        color: var(--bg-white);
        width: 100%;
    }
    
    .nav-cta {
        width: 100%;
        margin-top: 1rem;
    }
    
    .nav-cta .btn {
        width: 100%;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .resources-controls {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .filter-pills {
        justify-content: flex-start;
    }
    
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .hero h1 {
        font-size: 2.3rem;
    }
    
    .hero-desc {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .features-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-card {
        padding: 2.2rem 1.5rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group-full {
        grid-column: span 1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    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.2);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: #20BA5A;
    color: white;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
    display: block;
}
