/* =====================================================
   TG Construction & Hydro Engineering - Main Stylesheet
   ===================================================== */

/* CSS Variables */
:root {
    --primary-color: #033b93;
    --secondary-color: #DAA82A;
    --dark-color: #031a3f;
    --light-color: #ffffff;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a2e;
    --border-color: #e0e0e0;
    --shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 10px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark-color);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-fluid {
    width: 100%;
    padding: 0 30px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 35px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--light-color);
    color: var(--light-color);
}

.btn-outline:hover {
    background-color: var(--light-color);
    color: var(--dark-color);
}

/* Top Bar */
.top-bar {
    background-color: var(--dark-color);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 30px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
}

.top-bar-item i {
    color: var(--secondary-color);
}

.top-bar-right {
    display: flex;
    gap: 15px;
}

.top-bar-right a {
    color: rgba(255, 255, 255, 0.8);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.top-bar-right a:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

/* Header / Navigation */
.header {
    background-color: var(--light-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 70px;
}

.logo-text {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
    max-width: 180px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 35px;
}

.nav-menu li a {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-color);
    padding: 10px 0;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--primary-color);
}

.header-btn {
    margin-left: 30px;
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    transition: var(--transition);
}

/* Hide mobile nav container on desktop */
.mobile-nav-container {
    display: none;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
}

.menu-overlay {
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(3, 26, 63, 0.9) 0%, rgba(3, 59, 147, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-subtitle {
    display: inline-block;
    color: var(--secondary-color);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 4rem;
    color: var(--light-color);
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-title span {
    color: var(--secondary-color);
}

.hero-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(3, 26, 63, 0.9) 0%, rgba(3, 59, 147, 0.7) 100%);
}

.hero-slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 900px;
}

/* Section Styles */
.section {
    padding: 100px 0;
}

.section-dark {
    background-color: var(--dark-color);
}

.section-gray {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-subtitle {
    display: inline-block;
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 20px;
}

.section-title span {
    color: var(--primary-color);
}

.section-text {
    color: var(--text-light);
    font-size: 16px;
}

/* About Section */
.about-section {
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    width: 85%;
    box-shadow: var(--shadow);
}

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: 0;
    width: 55%;
    border: 8px solid var(--light-color);
    box-shadow: var(--shadow);
}

.about-content .section-subtitle {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-feature i {
    color: var(--secondary-color);
    font-size: 20px;
}

.about-feature span {
    font-weight: 600;
    color: var(--dark-color);
}

.experience-box {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    background-color: var(--primary-color);
    padding: 25px 35px;
    margin-top: 20px;
}

.experience-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
}

.experience-text {
    color: var(--light-color);
    font-size: 16px;
    font-weight: 500;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--light-color);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--secondary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(3, 59, 147, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.service-icon i {
    font-size: 35px;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
}

.service-card:hover .service-icon i {
    color: var(--light-color);
}

.service-card h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

.service-card p {
    font-size: 14px;
    margin-bottom: 0;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.project-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: var(--transition);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(3, 26, 63, 0.98) 60%, transparent);
    transform: translateY(100%);
    transition: var(--transition);
    z-index: 2;
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

.project-card:hover .project-image {
    transform: scale(1.1);
}

.project-category {
    color: var(--secondary-color);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.project-title {
    color: var(--light-color);
    font-size: 20px;
    margin-bottom: 15px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--light-color);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    background-color: var(--secondary-color);
    color: var(--dark-color);
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
}

.project-link:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: translateX(5px);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-text {
    color: var(--light-color);
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    text-align: center;
    background-color: var(--light-color);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.team-image {
    position: relative;
    overflow: hidden;
    width: 200px;
    height: 200px;
    margin: 25px auto 0;
    border-radius: 20px;
    border: 4px solid var(--secondary-color);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-info {
    padding: 20px 15px;
    text-align: center;
}

.team-name {
    font-size: 18px;
    margin-bottom: 5px;
}

.team-position {
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
}

.team-qualification {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.team-experience {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: var(--light-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
}

.team-experience i {
    color: var(--secondary-color);
    margin-right: 5px;
}

/* Testimonials */
.testimonials-section {
    background: url('../images/image5.png') center/cover fixed;
    position: relative;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 26, 63, 0.9);
}

.testimonials-section .container {
    position: relative;
    z-index: 1;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-item {
    padding: 40px;
}

.testimonial-text {
    font-size: 20px;
    color: var(--light-color);
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.testimonial-author img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary-color);
}

.author-info h5 {
    color: var(--light-color);
    margin-bottom: 5px;
}

.author-info span {
    color: var(--secondary-color);
    font-size: 14px;
}

/* Clients Section - Sliding Carousel */
.clients-slider-wrapper {
    overflow: hidden;
    width: 100%;
    padding: 20px 0;
}

.clients-slider {
    display: flex;
    animation: slideClients 25s linear infinite;
    width: max-content;
}

.clients-slider:hover {
    animation-play-state: paused;
}

@keyframes slideClients {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.client-slide {
    flex-shrink: 0;
    width: 200px;
    margin: 0 20px;
    background-color: var(--light-color);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    border-radius: 8px;
    transition: var(--transition);
}

.client-slide:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.client-slide .client-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.client-slide:hover .client-logo {
    filter: grayscale(0%);
    opacity: 1;
}

.client-slide h4 {
    font-size: 13px;
    color: var(--dark-color);
    font-weight: 600;
}

/* Keep old grid styles for compatibility */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
}

.client-card {
    background-color: var(--light-color);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-radius: 8px;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.client-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.client-card:hover .client-logo {
    filter: grayscale(0%);
    opacity: 1;
}

.client-card h4 {
    font-size: 14px;
    color: var(--dark-color);
    font-weight: 600;
}

@media (max-width: 992px) {
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .client-card {
        padding: 20px 15px;
    }
    
    .client-logo {
        width: 60px;
        height: 60px;
    }
    
    .client-card h4 {
        font-size: 12px;
    }
    
    .client-slide {
        width: 150px;
        margin: 0 10px;
        padding: 20px 15px;
    }
    
    .client-slide .client-logo {
        width: 60px;
        height: 60px;
    }
    
    .client-slide h4 {
        font-size: 11px;
    }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    padding: 80px 0;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-text h2 {
    color: var(--light-color);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.cta-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    margin: 0;
}

/* Partners Section */
.partners-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.partner-logo {
    opacity: 0.6;
    transition: var(--transition);
    filter: grayscale(100%);
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-box {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon i {
    font-size: 24px;
    color: var(--light-color);
}

.contact-info-content h5 {
    margin-bottom: 8px;
    color: var(--dark-color);
}

.contact-info-content p {
    margin: 0;
    color: var(--text-light);
}

.contact-form {
    background-color: var(--bg-light);
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    background-color: var(--light-color);
    font-size: 15px;
    color: var(--text-color);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo img {
    height: 80px;
    margin-bottom: 25px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

.footer-title {
    color: var(--light-color);
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--secondary-color);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-contact i {
    color: var(--secondary-color);
    margin-top: 3px;
}

.footer-bottom {
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-bottom-links a:hover {
    color: var(--secondary-color);
}

.staff-login-link {
    color: var(--secondary-color);
    font-weight: 600;
}

.staff-login-link:hover {
    color: var(--light-color);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, rgba(3, 26, 63, 0.9) 0%, rgba(3, 59, 147, 0.8) 100%),
                url('../images/image3.png') center/cover no-repeat;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 150px 0 80px;
    text-align: center;
}

.page-header-title {
    color: var(--light-color);
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: inline-block;
    background-color: var(--secondary-color);
    padding: 15px 50px;
    border-radius: 5px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a {
    color: var(--secondary-color);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

/* Values Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    background-color: var(--light-color);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.value-card:hover {
    border-bottom-color: var(--secondary-color);
    transform: translateY(-5px);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-icon i {
    font-size: 30px;
    color: var(--light-color);
}

.value-card h4 {
    margin-bottom: 15px;
}

/* Timeline / History */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background-color: var(--primary-color);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    padding-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-content {
    background-color: var(--light-color);
    padding: 30px;
    box-shadow: var(--shadow);
    max-width: 350px;
    margin-right: 30px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 0;
    margin-left: 30px;
}

.timeline-year {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--secondary-color);
    color: var(--dark-color);
    padding: 8px 20px;
    font-weight: 700;
}

/* Service Detail Page */
.service-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.service-sidebar {
    background-color: var(--bg-light);
    padding: 30px;
}

.service-list li {
    border-bottom: 1px solid var(--border-color);
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    color: var(--text-color);
    font-weight: 500;
}

.service-list a:hover,
.service-list a.active {
    color: var(--primary-color);
}

/* Project Detail Page */
.project-detail-header {
    margin-bottom: 40px;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin: 30px 0;
}

.project-meta-item h5 {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
}

.project-meta-item p {
    color: var(--dark-color);
    font-weight: 600;
    margin: 0;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.project-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    cursor: pointer;
    transition: var(--transition);
}

.project-gallery img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

/* Map */
.map-container {
    height: 400px;
    background-color: var(--bg-light);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Certifications */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.certification-card {
    display: flex;
    gap: 25px;
    background-color: var(--light-color);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.certification-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.certification-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.certification-icon i {
    font-size: 30px;
    color: var(--light-color);
}

.certification-content h4 {
    margin-bottom: 10px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-images {
        order: -1;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    /* Mobile Navigation - handled by responsive.css */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .top-bar-left {
        flex-direction: column;
        gap: 10px;
    }
    
    .top-bar-inner {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .service-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .project-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .page-header-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .experience-box {
        flex-direction: column;
        text-align: center;
    }
    
    .project-gallery {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

/* Scroll to Top Button */
.scroll-top,
#scrollTopBtn {
    position: fixed !important;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: var(--dark-color);
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 9999;
    border-radius: 4px;
}

.scroll-top.visible,
#scrollTopBtn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
