/* --- Brand Colors (POLISHED) --- */
:root {
    /* Main Palette */
    --color-deep-blue: #0052CC; /* Primary Brand Color */
    --color-teal: #00C7B7;    /* Secondary/Accent Brand Color */
    --color-pure-white: #FFFFFF;
    --color-rich-black: #1A1A1A; /* Text and Dark Backgrounds */
    --color-light-gray: #F4F4F4; /* Subtle Backgrounds */
    --color-golden-yellow: #FFC107;

    /* Semantic Variables (NEW/CLARIFIED) */
    --color-primary: var(--color-deep-blue);
    --color-accent: var(--color-teal);
    --color-text: var(--color-rich-black);

    /* --- Typography Variables --- */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --font-quote: 'Playfair Display', serif;

    /* --- Spacing Variables (8-point grid) --- */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 40px; 
    --spacing-xl: 64px;
    --spacing-xxl: 96px; /* NEW: For major section padding */

    /* Shadow (NEW) */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 10px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
}

body {
    font-family: var(--font-body);
    color: var(--color-text); /* Use rich black for standard text */
    background-color: var(--color-pure-white);
    font-size: 18px; /* Standard body text size is professional and readable */
    line-height: 1.6;
}

/* --- Container & Layout --- */
.container {
    max-width: 1200px; /* SLIGHTLY WIDER container for modern feel */
    margin: 0 auto;
    padding: 0 var(--spacing-md); /* Increased padding for better side margins */
}

.section-padding {
    /* INCREASED: Major sections now use XXL for more breathing room */
    padding: var(--spacing-xxl) 0; 
}

.text-center {
    text-align: center;
}

.mt-40 {
    margin-top: var(--spacing-lg); 
}


/* For JS scroll-reveal effect */
section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
section.fade-in {
    opacity: 1;
    transform: translateY(0);
}


/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary); /* Deep Blue for headings */
    font-weight: 700; /* Bolder headings for more impact */
    margin-bottom: var(--spacing-sm);
}

/* Adjusted H1 size for better professional balance */
h1 {
    font-size: 52px; 
    font-weight: 800; 
}
/* Adjusted H2 size */
h2 {
    font-size: 38px; 
}
/* Adjusted H3 size */
h3 {
    font-size: 28px; 
    font-weight: 700; 
}

p {
    margin-bottom: var(--spacing-md); 
    line-height: 1.7; /* Increased line-height for better readability */
}

/* Adjusted Section Title size */
.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg); 
    font-size: 42px; /* Prominent section titles, reduced slightly */
    text-transform: uppercase; 
    letter-spacing: 1px;
    color: var(--color-primary);
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-xl); 
    line-height: 1.8;
    color: #444; 
    font-size: 19px; /* Slightly larger description text for impact */
}

/* Adjusted Hero Title size for refined look */
.hero-title {
    font-size: 64px; 
    color: var(--color-pure-white);
    font-weight: 900; 
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 3px 5px rgba(0,0,0,0.3); 
}

/* Adjusted Hero Subtitle size */
.hero-subtitle {
    font-family: var(--font-body); 
    font-size: 24px; 
    color: var(--color-pure-white);
    max-width: 1000px;
    margin: 0 auto var(--spacing-xl); 
    line-height: 1.5;
    font-weight: 300; 
}

.read-more-link {
    color: var(--color-primary);
    font-weight: 700; 
    display: inline-flex;
    align-items: center;
    gap: 8px; 
    transition: color 0.3s ease, transform 0.3s ease;
}
.read-more-link:hover {
    color: var(--color-accent);
    transform: translateX(5px); 
}
.read-more-link i {
    font-size: 16px;
}


/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 15px 32px; 
    border-radius: 50px; 
    font-weight: 700; 
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.1s ease;
    border: 2px solid transparent;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
}
.btn:active {
    transform: scale(0.98); 
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-pure-white);
}
.btn-primary:hover {
    background-color: var(--color-accent); 
    border-color: var(--color-accent);
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-pure-white);
    border-color: var(--color-pure-white);
}
.btn-secondary:hover {
    background-color: var(--color-pure-white);
    color: var(--color-primary);
}

.btn-tertiary {
    background-color: var(--color-primary); 
    color: var(--color-pure-white);
    border-radius: 5px; 
    padding: 12px 28px;
    text-transform: none; 
}
.btn-tertiary:hover {
    background-color: var(--color-accent);
}

.btn-large {
    padding: 18px 48px; 
    font-size: 20px; /* Adjusted large button size */
}

.btn-small {
    padding: 10px 20px;
    font-size: 16px;
}


/* --- Header --- */
.main-header {
    background-color: var(--color-primary); 
    padding: var(--spacing-md) 0; 
    box-shadow: 0 3px 10px rgba(0,0,0,0.3); 
}
.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo img {
    height: 50px; 
    width: auto;
}
.main-nav .nav-list {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}
.main-nav .nav-list li a {
    color: var(--color-pure-white); 
    font-weight: 600; /* Slightly reduced font-weight for nav links */
    letter-spacing: 0.5px;
    padding: 8px 0;
    transition: color 0.3s ease;
}
.main-nav .nav-list li a:hover {
    color: var(--color-accent); 
}
.main-nav .nav-list li .btn {
    padding: 10px 20px;
    border-radius: 5px;
}
/* "Contact Us" Button in Header (adjusted for contrast on Deep Blue background) */
.main-nav .nav-list li .btn-primary {
    background-color: var(--color-accent); 
    border-color: var(--color-accent);
    text-transform: uppercase;
}
.main-nav .nav-list li .btn-primary:hover {
    background-color: var(--color-pure-white);
    color: var(--color-primary);
    border-color: var(--color-pure-white);
}


/* Dropdown Menu for Services */
.main-nav .has-dropdown {
    position: relative;
}
.main-nav .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-pure-white);
    box-shadow: var(--shadow-md);
    border-top: 3px solid var(--color-primary);
    min-width: 250px;
    z-index: 1000;
    padding: var(--spacing-xs) 0;
    border-radius: 4px;
}
.main-nav .dropdown-menu li {
    padding: 0;
}
.main-nav .dropdown-menu li a {
    display: block;
    padding: 10px var(--spacing-md);
    white-space: nowrap;
    color: var(--color-text);
    font-weight: 400;
}
.main-nav .dropdown-menu li a:hover {
    background-color: var(--color-light-gray);
    color: var(--color-primary);
}
.main-nav .has-dropdown:hover > .dropdown-menu {
    display: block;
}
/* Caret icon */
.main-nav .has-dropdown > a i {
    margin-left: 5px;
    font-size: 12px;
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--color-pure-white);
}


/* --- Hero Section (Homepage) --- */
.hero-section {
    background: var(--color-primary) url('../images/hero-bg.jpg') no-repeat center center/cover;
    color: var(--color-pure-white);
    text-align: center;
    padding: 120px 0; 
    min-height: 650px; 
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}
.hero-section::before { 
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 82, 204, 0.8); 
    z-index: -1;
}
.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg); 
}
.hero-btn {
    margin: 0;
}


/* --- About Overview Section (Homepage) --- */
.about-overview {
    background-color: var(--color-light-gray);
    padding: var(--spacing-xl) 0; 
}
.about-overview .section-description {
    max-width: 900px;
    margin-bottom: var(--spacing-lg);
}
.about-overview .btn-tertiary {
    border-radius: 50px; 
    text-transform: uppercase;
}


/* --- Services Overview Section (Homepage) --- */
.services-overview {
    padding-bottom: var(--spacing-xxl); 
}
.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: var(--spacing-lg); 
    margin-top: var(--spacing-xl); 
}
.service-card {
    background-color: var(--color-pure-white);
    border-radius: 10px; 
    padding: var(--spacing-md); 
    box-shadow: var(--shadow-md); 
    text-align: left; 
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 5px solid var(--color-pure-white); 
}
.service-card:hover {
    transform: translateY(-8px); 
    box-shadow: 0 12px 25px rgba(0,0,0,0.15); 
    border-bottom: 5px solid var(--color-accent); 
}
.service-card .service-icon {
    font-size: 56px; 
    color: var(--color-accent); 
    margin-bottom: var(--spacing-sm);
    text-align: left; 
}
.service-card h3 {
    color: var(--color-primary); 
    margin-bottom: var(--spacing-xs);
    font-size: 24px; /* Reduced to align with new H3 scale */
    font-weight: 700;
}
.service-card p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
}
.service-card .read-more-link {
    margin-top: var(--spacing-sm);
}


/* --- Why Choose Us Section --- */
.why-choose-us {
    background-color: var(--color-primary); 
    color: var(--color-pure-white);
    padding: var(--spacing-xxl) 0;
}
.why-choose-us .section-title {
    color: var(--color-pure-white); 
}
.differentiators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl); 
    margin-top: var(--spacing-xl); 
}
.differentiator-item {
    text-align: center;
    padding: var(--spacing-md);
    border: 1px solid rgba(255,255,255,0.1); 
    border-radius: 8px;
    transition: background-color 0.3s ease;
}
.differentiator-item:hover {
    background-color: rgba(255,255,255,0.05); 
}
.differentiator-item .differentiator-icon {
    font-size: 64px; 
    color: var(--color-accent); 
    margin-bottom: var(--spacing-md); 
}
.differentiator-item h3 {
    color: var(--color-pure-white);
    font-size: 26px; /* Reduced slightly */
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}
.differentiator-item p {
    font-size: 17px;
    line-height: 1.7;
}

/* --- Next Step Focus Section --- */
.next-step-focus {
    background-color: var(--color-light-gray);
    padding: var(--spacing-xl) 0; 
}
.next-step-focus .section-description {
    margin-bottom: var(--spacing-lg);
}
.next-step-focus .btn-secondary {
    background-color: var(--color-primary);
    color: var(--color-pure-white);
    border-color: var(--color-primary);
    border-radius: 50px;
}
.next-step-focus .btn-secondary:hover {
    background-color: var(--color-accent);
    color: var(--color-pure-white);
    border-color: var(--color-accent);
}

/* --- Final CTA Section --- */
.cta-section {
    background-color: var(--color-primary); 
    padding: var(--spacing-xxl) 0;
    color: var(--color-pure-white);
}
.cta-section .section-title {
    font-size: 45px; /* Reduced for final impact */
    margin-bottom: var(--spacing-sm);
    color: var(--color-pure-white);
}
.cta-section .section-description {
    color: rgba(255,255,255,0.9);
    margin-bottom: var(--spacing-lg);
    font-size: 20px;
}
.cta-section .btn-primary {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    border-radius: 50px;
}
.cta-section .btn-primary:hover {
    background-color: var(--color-pure-white);
    color: var(--color-primary);
    border-color: var(--color-pure-white);
}

/* --- Footer --- */
.main-footer {
    background-color: var(--color-rich-black); 
    color: rgba(255,255,255,0.7); 
    padding: var(--spacing-xxl) 0 var(--spacing-md); 
}
.main-footer .footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: var(--spacing-sm);
}
.main-footer .tagline {
    font-family: var(--font-quote);
    font-style: italic;
    font-size: 20px;
    margin-bottom: var(--spacing-sm);
    color: var(--color-pure-white);
}
.main-footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-xl); 
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col h3 {
    color: var(--color-pure-white);
    margin-bottom: var(--spacing-md);
    font-size: 22px; 
    font-weight: 700;
    letter-spacing: 0.5px;
}
.footer-col ul {
    list-style: none;
    padding: 0;
}
.footer-col ul li {
    margin-bottom: var(--spacing-xs);
}
.footer-col ul li a {
    color: inherit;
    transition: color 0.3s ease;
    font-size: 16px; /* Slightly smaller for detailed lists */
}
.footer-col ul li a:hover {
    color: var(--color-accent);
}
.footer-col p {
    margin-bottom: var(--spacing-xs);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 16px; /* Slightly smaller for detailed lists */
}
.footer-col p i {
    margin-top: 4px;
    color: var(--color-accent);
}
.social-links {
    margin-top: var(--spacing-sm);
    display: flex;
    gap: var(--spacing-sm);
}
.social-links a {
    color: var(--color-pure-white);
    font-size: 28px; 
    transition: color 0.3s ease;
}
.social-links a:hover {
    color: var(--color-accent);
}
.footer-bottom {
    text-align: center;
    font-size: 14px;
    padding-top: var(--spacing-sm);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}
.footer-bottom .legal-links a {
    color: inherit;
    transition: color 0.3s ease;
}
.footer-bottom .legal-links a:hover {
    color: var(--color-teal);
}

/* --- Page Hero Section --- */
.page-hero {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary); 
    position: relative;
    z-index: 1;
}
.page-hero .hero-title {
    font-size: 48px; /* Adjusted page hero title size */
    color: var(--color-pure-white);
}
.page-hero .hero-subtitle {
    font-size: 22px; /* Adjusted page hero subtitle size */
    color: rgba(255,255,255,0.9);
}

/* --- About Introduction Section --- */
.mission-vision-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg); 
    margin-top: var(--spacing-xl); 
}
.mission-vision-values .block {
    background-color: var(--color-pure-white);
    padding: var(--spacing-md); 
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    border-top: 5px solid var(--color-accent); 
}
.mission-vision-values .block h3 {
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
    font-size: 24px; /* Reduced to align with new H3 scale */
}
.mission-vision-values .block ul {
    list-style: none;
    padding-left: 0;
}
.mission-vision-values .block ul li {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
    font-size: 17px;
}
.mission-vision-values .block ul li i {
    color: var(--color-accent);
    font-size: 20px;
    margin-top: 2px;
}

/* --- Team Overview Section --- */
.team-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl); 
}
.team-member-card {
    background-color: var(--color-pure-white);
    border-radius: 8px;
    padding: var(--spacing-md); 
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}
.team-member-card .team-member-img {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto var(--spacing-sm);
    border: 5px solid var(--color-accent); 
}
.team-member-card h3 {
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
    font-size: 22px; /* Reduced slightly */
}
.team-member-card .position {
    color: var(--color-accent); 
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    font-size: 16px; /* Reduced slightly */
}
.team-member-card .bio-snippet {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}
.team-member-card .social-links a {
    font-size: 24px;
    color: var(--color-rich-black);
    margin: 0 5px;
}
.team-member-card .social-links a:hover {
    color: var(--color-primary);
}
.cta-section {
    background-color: var(--color-light-gray);
    padding: var(--spacing-lg) 0;
    text-align: center;
}

/* --- Services List Section (for services.php) --- */
.services-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.service-item-full {
    background-color: var(--color-pure-white);
    border-radius: 8px;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-top 0.3s ease;
    border-top: 8px solid var(--color-primary); 
    display: flex;
    flex-direction: column;
}
.service-item-full:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    border-top: 8px solid var(--color-accent); 
}
.service-item-full .service-icon {
    font-size: 64px;
    color: var(--color-accent);
    margin-bottom: var(--spacing-sm);
    text-align: center;
    width: 100%;
}
.service-item-full h3 {
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
    font-size: 28px; /* Reduced to align with new H3 scale */
    text-align: center;
}
.service-item-full p {
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}
.service-item-full .read-more-link {
    display: block;
    text-align: center;
    margin-top: auto;
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--color-light-gray);
    color: var(--color-primary);
}


/* --- Contact Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}
@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 2fr 1.5fr;
        align-items: flex-start;
    }
}
@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 3fr 2fr;
    }
}

.contact-form-wrapper,
.contact-info-wrapper {
    background-color: var(--color-pure-white);
    padding: var(--spacing-lg); /* More generous padding */
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}
.contact-form .btn {
    border-radius: 5px; /* Keep button rectangular for forms */
    text-transform: uppercase;
}
.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-accent); /* Teal focus */
    box-shadow: 0 0 0 2px rgba(0, 199, 183, 0.3); 
}
.info-item i {
    font-size: 32px; /* Larger icon */
    color: var(--color-accent);
}
.info-item h4 {
    font-size: 22px;
    color: var(--color-primary);
}
.social-connect .social-links a {
    font-size: 36px;
    color: var(--color-primary);
}
.social-connect .social-links a:hover {
    color: var(--color-accent);
}

/* --- Service Detail Page (Revised Blocks) --- */
/* Hero Section - Overrides for Service Page */
.hero-section.service-hero {
    background-color: var(--color-primary);
    color: var(--color-pure-white);
    padding: var(--spacing-xxl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-hero .container {
    position: relative;
    z-index: 2;
}
.service-hero .hero-title {
    font-size: 56px; /* Reduced to align with new H1 scale */
    margin-bottom: var(--spacing-sm);
    color: var(--color-pure-white);
}

.service-hero .hero-subtitle {
    font-size: 24px; /* Reduced to align with new H2/H3 scale */
    font-weight: 300;
    max-width: 900px;
    margin: 0 auto var(--spacing-lg);
    line-height: 1.4;
}

.service-hero-image {
    max-width: 90%;
    height: auto;
    display: block;
    margin: var(--spacing-lg) auto 0;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

/* Service Details Content Section */
.service-details-grid {
    display: grid;
    grid-template-columns: 3fr 1.5fr; /* Main content larger than sidebar */
    gap: var(--spacing-lg);
    align-items: flex-start;
}

@media (max-width: 992px) {
    .service-details-grid {
        grid-template-columns: 1fr;
    }
    .service-hero .hero-title {
        font-size: 48px;
    }
    .service-hero .hero-subtitle {
        font-size: 24px;
    }
}

.service-main-content h2,
.service-main-content h3 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.service-main-content h2 {
    font-size: 32px; /* Reduced to align with new H2 scale */
    margin-top: var(--spacing-lg);
}

.service-main-content h3 {
    font-size: 24px; /* Reduced to align with new H3 scale */
    margin-top: var(--spacing-lg);
    color: var(--color-text);
}

.service-main-content p {
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
    color: var(--color-rich-black);
    font-size: 18px;
}

/* Features List */
.features-list {
    list-style: none;
    padding: 0;
    margin-bottom: var(--spacing-lg);
}

.features-list li {
    background-color: var(--color-light-gray);
    padding: var(--spacing-sm) var(--spacing-md);
    margin-bottom: var(--spacing-xs);
    border-radius: 5px;
    display: flex;
    align-items: center;
    font-size: 18px;
    color: var(--color-rich-black);
    border-left: 5px solid var(--color-accent); /* Added accent border */
    box-shadow: var(--shadow-sm);
}

.features-list .feature-icon {
    color: var(--color-primary); /* Primary color icon */
    margin-right: var(--spacing-sm);
    font-size: 20px;
}

/* Process Steps */
.process-steps {
    margin-bottom: var(--spacing-lg);
}

.process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
    gap: var(--spacing-md);
    background-color: var(--color-pure-white);
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.process-step .step-number {
    font-size: 22px; /* Reduced slightly */
    font-weight: 700;
    background-color: var(--color-accent); /* Teal background */
    color: var(--color-primary); /* Deep Blue text */
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.process-step p {
    flex-grow: 1;
    margin-bottom: 0;
    font-size: 18px;
    color: var(--color-rich-black);
}

/* Service Sidebar */
.service-sidebar {
    background-color: var(--color-light-gray);
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.service-sidebar h3 {
    font-family: var(--font-heading);
    font-size: 22px; /* Reduced slightly */
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--color-primary); /* Stronger separator */
}

.service-sidebar .contact-box {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.service-sidebar .contact-box p {
    margin-bottom: var(--spacing-md);
    color: var(--color-rich-black);
    font-size: 17px;
}

.service-sidebar .related-services-box ul {
    list-style: none;
    padding: 0;
}

.service-sidebar .related-services-box li {
    margin-bottom: var(--spacing-sm);
    border-left: 3px solid var(--color-primary);
    padding-left: var(--spacing-sm);
}

.service-sidebar .related-services-box li a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    display: block;
    font-size: 17px;
}

.service-sidebar .related-services-box li a:hover {
    color: var(--color-accent);
}

/* Not Found Message */
.not-found-message {
    text-align: center;
    padding: var(--spacing-xxl) 0;
    color: var(--color-rich-black);
}

.not-found-message .text-danger {
    color: #dc3545;
    font-size: 80px;
    display: block;
    margin-bottom: var(--spacing-md);
}

.not-found-message a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
}
.not-found-message a:hover {
    text-decoration: underline;
    color: var(--color-accent);
}


/* --- Case Studies List Section --- */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.case-study-card {
    background-color: var(--color-pure-white);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.case-study-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}
.case-study-card .case-study-img {
    width: 100%;
    height: 250px; /* Slightly taller for visual impact */
    object-fit: cover;
    display: block;
}
.case-study-card .card-content {
    padding: var(--spacing-md);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.case-study-card .case-study-category {
    display: block;
    font-size: 15px; /* Reduced slightly */
    color: var(--color-accent); /* Teal category */
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    text-transform: uppercase;
}
.case-study-card h3 {
    font-size: 22px; /* Reduced slightly */
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
    line-height: 1.3;
}
.case-study-card p {
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
    flex-grow: 1;
}
.case-study-card .read-more-link {
    margin-top: auto;
    align-self: flex-start;
}

/* --- Case Study Detail Page --- */
.case-study-detail-content {
    background-color: var(--color-pure-white);
}

.case-study-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-light-gray);
}
@media (min-width: 768px) {
    .case-study-header {
        flex-direction: row;
        align-items: flex-start;
        gap: var(--spacing-lg);
    }
}

.case-study-main-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
@media (min-width: 768px) {
    .case-study-main-img {
        width: 60%;
        max-width: none;
    }
}

.case-study-meta {
    width: 100%;
    background-color: var(--color-light-gray);
    padding: var(--spacing-md);
    border-radius: 8px;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
}
@media (min-width: 768px) {
    .case-study-meta {
        width: 40%;
        grid-template-columns: 1fr;
    }
    @media (min-width: 992px) {
        .case-study-meta {
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: var(--spacing-md);
        }
    }
}

.case-study-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(0,0,0,0.1);
}
.case-study-meta .meta-item:last-child {
    border-bottom: none;
}
.case-study-meta .meta-item i {
    font-size: 28px; /* Larger icons */
    color: var(--color-accent);
    flex-shrink: 0;
}
.case-study-meta .meta-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0;
}
.case-study-meta .meta-item p {
    font-size: 18px;
    color: var(--color-rich-black);
    margin-bottom: 0;
    line-height: 1.4;
}

.case-study-section {
    margin-bottom: var(--spacing-xl);
}
.case-study-section:last-of-type {
    margin-bottom: var(--spacing-lg);
}
.case-study-section .section-subtitle {
    font-size: 32px; /* Reduced to align with new H2 scale */
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    text-align: left;
}
.case-study-section .section-text {
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-rich-black);
}
.case-study-section .section-text ul {
    list-style: none;
    padding-left: 0;
    margin-top: var(--spacing-sm);
}
.case-study-section .section-text ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 18px;
}
.case-study-section .section-text ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-accent);
    font-size: 18px;
}

/* --- Blog List Section --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.blog-card {
    background-color: var(--color-pure-white);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}
.blog-card .blog-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.blog-card .card-content {
    padding: var(--spacing-md);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.blog-card .blog-category {
    display: block;
    font-size: 16px;
    color: var(--color-accent);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    text-transform: uppercase;
}
.blog-card h3 {
    font-size: 22px; /* Reduced slightly */
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
    line-height: 1.3;
}
.blog-card .blog-meta {
    font-size: 15px;
    color: #666;
    margin-bottom: var(--spacing-sm);
}
.blog-card .blog-meta i {
    margin-right: 5px;
    color: var(--color-primary);
}
.blog-card p {
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
    flex-grow: 1;
}
.blog-card .read-more-link {
    margin-top: auto;
    align-self: flex-start;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: var(--spacing-lg);
}
.pagination .btn {
    padding: 10px 18px;
    font-size: 16px;
    border-radius: 5px;
    text-transform: none;
}
.pagination .btn-secondary {
    background-color: var(--color-light-gray);
    color: var(--color-primary);
    border-color: var(--color-light-gray);
    font-weight: 700;
}
.pagination .btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-pure-white);
    border-color: var(--color-primary);
}
.pagination .btn-primary {
    background-color: var(--color-primary);
    color: var(--color-pure-white);
    border-color: var(--color-primary);
    font-weight: 700;
}
.pagination .btn-primary:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

/* --- Blog Post Detail Page --- */
.blog-post-content .container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}
@media (min-width: 992px) {
    .blog-post-content .container {
        flex-direction: row;
        align-items: flex-start;
    }
}

.blog-post-main {
    flex-grow: 1;
    width: 100%;
    background-color: var(--color-pure-white);
    padding: var(--spacing-lg);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}
@media (min-width: 992px) {
    .blog-post-main {
        width: 70%;
    }
}

.blog-post-featured-img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: var(--spacing-md);
}

.blog-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    font-size: 16px;
    color: #666;
    margin-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--color-light-gray);
    padding-bottom: var(--spacing-sm);
}
.blog-post-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}
.blog-post-meta .meta-item i {
    color: var(--color-primary);
    font-size: 18px;
}

.blog-post-body h1,
.blog-post-body h2,
.blog-post-body h3,
.blog-post-body h4,
.blog-post-body h5,
.blog-post-body h6 {
    color: var(--color-primary);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}
.blog-post-body h3 {
    font-size: 26px; /* Reduced slightly */
}
.blog-post-body p {
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
    font-size: 17px;
}
.blog-post-body ul,
.blog-post-body ol {
    margin-left: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    font-size: 17px;
    line-height: 1.6;
}
.blog-post-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: var(--spacing-md) auto;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}
.blog-post-body small {
    display: block;
    text-align: center;
    color: #888;
    font-size: 14px;
    margin-top: -10px;
    margin-bottom: var(--spacing-md);
}


/* Blog Sidebar */
.blog-sidebar {
    width: 100%;
    background-color: var(--color-light-gray);
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}
@media (min-width: 992px) {
    .blog-sidebar {
        width: 30%;
    }
}
.blog-sidebar h3 {
    font-size: 22px; /* Reduced slightly */
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--color-primary); /* Stronger separator */
    padding-bottom: var(--spacing-xs);
}
.blog-sidebar ul {
    list-style: none;
    padding: 0;
}
.blog-sidebar ul li {
    margin-bottom: var(--spacing-sm);
}
.blog-sidebar ul li a {
    color: var(--color-text);
    font-size: 17px;
    transition: color 0.3s ease;
}
.blog-sidebar ul li a:hover {
    color: var(--color-accent);
}

/* --- Careers Page --- */
.careers-intro-section {
    background-color: var(--color-pure-white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}
.value-item {
    background-color: var(--color-light-gray);
    padding: var(--spacing-md);
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
    border-top: 5px solid var(--color-accent);
}
.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.value-item i {
    font-size: 56px;
    color: var(--color-primary); /* Primary icon color */
    margin-bottom: var(--spacing-sm);
}
.value-item h3 {
    font-size: 24px; /* Reduced slightly */
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
}
.value-item p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--color-rich-black);
}

/* Open Positions Section */
.open-positions-section {
    background-color: var(--color-light-gray);
}

.job-listings {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}
@media (min-width: 768px) {
    .job-listings {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

.job-card {
    background-color: var(--color-pure-white);
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border-left: 5px solid var(--color-primary);
}
.job-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    border-left: 5px solid var(--color-accent);
}
.job-card .job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-xs);
    flex-wrap: wrap;
}
.job-card h3 {
    font-size: 24px; /* Reduced slightly */
    color: var(--color-primary);
    margin-bottom: 0;
    line-height: 1.3;
}
.job-card .job-location {
    font-size: 16px;
    color: #666;
    white-space: nowrap;
    margin-top: 5px;
}
.job-card .job-location i {
    margin-right: 5px;
    color: var(--color-accent);
}

.job-card .job-meta {
    display: flex;
    gap: var(--spacing-sm);
    font-size: 15px;
    color: #888;
    margin-bottom: var(--spacing-sm);
    flex-wrap: wrap;
}
.job-card .job-meta i {
    margin-right: 5px;
    color: var(--color-primary);
}
.job-card p {
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}
.job-card .btn-small {
    align-self: flex-start;
    padding: 10px 20px;
    font-size: 16px;
    margin-top: auto;
    border-radius: 50px;
}

/* No Jobs Message */
.no-jobs-message {
    padding: var(--spacing-lg);
    border: 2px dashed var(--color-accent);
    border-radius: 8px;
    background-color: var(--color-pure-white);
}
.no-jobs-message p {
    font-size: 18px;
    color: var(--color-text);
    margin-bottom: 0;
}

/* --- Job Detail Page --- */
.job-detail-content {
    background-color: var(--color-pure-white);
}

.job-meta-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
    padding: var(--spacing-sm) 0;
    margin-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--color-light-gray);
}
.job-meta-details .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    color: var(--color-rich-black);
    font-weight: 600;
}
.job-meta-details .meta-item i {
    color: var(--color-primary);
    font-size: 22px;
}

.job-overview p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-rich-black);
    max-width: 900px;
    margin: 0 auto;
}

.job-section {
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}
.job-section .section-subtitle {
    font-size: 30px; /* Reduced slightly */
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    text-align: left;
    border-left: 5px solid var(--color-accent);
    padding-left: 10px;
}
.job-list {
    list-style: none;
    padding-left: 0;
}
.job-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 17px;
    line-height: 1.6;
    color: var(--color-rich-black);
}
.job-list li i.fas.fa-check-circle {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--color-accent);
    font-size: 20px;
}
.job-list li i.fas.fa-star {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--color-golden-yellow); /* Yellow for benefits star */
    font-size: 20px;
}

.job-apply-cta {
    background-color: var(--color-light-gray);
    padding: var(--spacing-lg);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    margin-top: var(--spacing-xl);
}
.job-apply-cta .section-subtitle {
    font-size: 32px; /* Reduced slightly */
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
}
.job-apply-cta .section-description {
    font-size: 18px;
    margin-bottom: var(--spacing-md);
}
.job-apply-cta .btn-primary {
    border-radius: 50px;
    font-size: 20px;
}

/* --- NEW/REVISED CONTACT FORM STYLING --- */

/* Form message styling (for success/error PHP messages) */
.form-message {
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    border-radius: 4px;
    font-size: 17px;
    font-weight: 600;
}
.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.contact-form .form-group {
    margin-bottom: var(--spacing-md); /* Space between form groups */
    display: flex; /* Makes labels and inputs behave */
    flex-direction: column;
}

.contact-form label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--spacing-xs); /* Tight spacing between label and input */
}

.contact-form .required {
    color: #dc3545; /* Standard danger color for required fields */
    font-weight: 700;
    font-size: 1.1em;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="text"][name="subject"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc; /* Subtle border for definition */
    border-radius: 4px;
    font-size: 16px;
    line-height: 1.5;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--color-pure-white);
}

.contact-form textarea {
    resize: vertical; /* Allow vertical resizing only */
    min-height: 120px;
}

/* Existing Focus Styles (Confirm these are present and working) */
.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-accent); /* Teal focus */
    box-shadow: 0 0 0 2px rgba(0, 199, 183, 0.3); 
}

