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

:root {
    --primary-color: #ff6b35;
    --secondary-color: #004e89;
    --dark-color: #1a1a2e;
    --light-color: #f4f4f4;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 5px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    
    /* Background colors for theme switching */
    --bg-primary: #ffffff;
    --bg-secondary: #f4f4f4;
    --bg-card: #ffffff;
    --text-primary: #333333;
    --text-secondary: #666666;
}

/* Dark Theme - Automatically detects device preference */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #1a1a2e;
        --bg-secondary: #16213e;
        --bg-card: #0f1624;
        --text-primary: #e4e4e4;
        --text-secondary: #b0b0b0;
        --border-color: #2d3748;
        --light-color: #2d3748;
        --shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
        --shadow-lg: 0 5px 25px rgba(0, 0, 0, 0.7);
    }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}
/* ================================
   Container
   ================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================
   Navigation Bar
   ================================ */
.navbar {
    background-color: var(--bg-card);
    box-shadow: var(--shadow);
    margin-top: 80px;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    z-index: 1000;
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-icon {
    font-size: 2rem;
    font-weight: 800;
}

.nav-menu {
    margin-left: auto;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    font-size: large;
    color: var(--text-primary);
    font-weight: 600;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.btn-primary-nav {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 0.7rem 1rem !important;
    border-radius: 5px;
    transition: var(--transition);
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ================================
   Hero Section
   ================================ */
.hero {
    position: relative;
    height: 700px;
    display: flex;
    align-items: end;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-color) 100%);
    color: var(--white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23004e89" width="1200" height="600"/><circle cx="200" cy="150" r="100" fill="%23ff6b35" opacity="0.1"/><circle cx="900" cy="400" r="150" fill="%23ff6b35" opacity="0.1"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
    padding-bottom: 7rem;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ================================
   Buttons
   ================================ */
.whatsapp-button {color: var(--white);}
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: large;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: #ff5722;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background-color: var(--bg-card);
    color: var(--secondary-color);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* ================================
   Features Section
   ================================ */
.features {
    padding: 4rem 0;
    background-color: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-secondary);
}

/* ================================
   Home About Section
   ================================ */
.home-about {
    padding: 4rem 0;
    background-color: var(--bg-secondary);
    display: grid;
    place-items: center;
}
.home-about .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-card);
    margin: 1rem;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}
/* ================================
   Section Headers
   ================================ */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

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

/* ================================
   Services Preview
   ================================ */
.services-preview {
    padding: 5rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-card);
    padding: 2.5rem;
    border-radius: 10px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
}

.service-link:hover {
    transform: translateX(5px);
}

/* ================================
   Call to Action
   ================================ */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff5722 100%);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta .btn-primary {
    background-color: var(--bg-card);
    color: var(--primary-color);
}

.cta .btn-primary:hover {
    background-color: var(--bg-secondary);
}

/* ================================
   Footer
   ================================ */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-section a {
    color: var(--light-color);
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-color);
}

/* ================================
   Page Header
   ================================ */
.page-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-color) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
    align-items: end;
    height: auto;
}
.page-header-services {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-color) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
    align-items: end;
    height: auto;
}
.page-header-services .container {
    margin-top: 140px;
}
.page-header-services h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}
.page-header-services p {
    font-size: 1.2rem;
    opacity: 0.9;
}
.page-header .container {
    margin-top: 140px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ================================
   Services Detail Page
   ================================ */
.services-detail {
    padding: 4rem 0;
}

.services-detail .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

#transportation {
    grid-column: span 2;
}

.service-detail-card {
    background-color: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 3rem;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.service-detail-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.service-detail-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.service-detail-card h2 {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-detail-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.service-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.service-list li {
    padding: 0.5rem 0;
    color: var(--text-primary);
}

.service-list li::before {
    content: '✓ ';
    color: var(--success-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Why Choose Section */
.why-choose {
    background-color: var(--bg-secondary);
    padding: 4rem 0;
    text-align: center;
}

.why-choose h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.why-card {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.why-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.why-card p {
    color: var(--text-secondary);
}

/* ================================
   Gallery Page
   ================================ */
.gallery {
    padding: 4rem 0;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.7rem 1.5rem;
    border: 2px solid var(--border-color);
    background-color: var(--bg-card);
    color: var(--text-primary);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    background-color: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-item.hidden {
    display: none;
}

.gallery-image-placeholder {
    height: 250px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.gallery-image-placeholder p {
    font-size: 1.1rem;
    font-weight: 600;
}

.gallery-info {
    padding: 1.5rem;
}

.gallery-info h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.gallery-info p {
    color: var(--text-secondary);
}

.gallery-note {
    margin-top: 3rem;
    padding: 2rem;
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 10px;
    text-align: center;
}

.gallery-note code {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
}

/* ================================
   About Page
   ================================ */
.about-content {
    padding: 4rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}
.about-text ul {
    list-style: disc;
    padding-left: 2rem;
    margin-bottom: 1rem;
}
.about-text ul li {
    margin-bottom: 0.5rem;}
    
.about-image-placeholder {
    height: 400px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.values {
    background-color: var(--bg-secondary);
    padding: 4rem 0;
}

.values h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
}

.value-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.value-card p {
    color: var(--text-secondary);
}

.stats {
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-primary);
}

.equipment {
    background-color: var(--bg-secondary);
    padding: 4rem 0;
}

.equipment h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.equipment-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.equipment-image {
    width: 90%;
    max-width: 700px;
    object-fit: cover;
    border-radius: 10px;
}
.equipment-card {
    display: flex;
    justify-content: center;
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.equipment-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.equipment-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.equipment-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.equipment-card p {
    color: var(--text-secondary);
}

.certifications {
    padding: 4rem 0;
    text-align: center;
}

.certifications h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.cert-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.cert-badge {
    width: 60px;
    height: 60px;
    background-color: var(--success-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cert-item p {
    font-weight: 600;
    color: var(--text-primary);
}

.testimonials {
    background-color: var(--bg-secondary);
    padding: 4rem 0;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.testimonial-stars {
    color: #ffc107;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.testimonial-author strong {
    color: var(--secondary-color);
}

.testimonial-author span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ================================
   Contact Page
   ================================ */
.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-item h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-primary);
    line-height: 1.6;
}

.contact-item a {
    color: var(--primary-color);
    transition: var(--transition);
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.emergency-contact {
    background-color: #fff3cd;
    border: 2px solid var(--warning-color);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.emergency-contact h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.emergency-contact p {
    margin-bottom: 0.5rem;
}

.emergency-contact strong a {
    color: var(--primary-color);
    font-size: 1.3rem;
}

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 10px;
}

.contact-form h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

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

.form-group textarea {
    resize: vertical;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    display: none;
    text-align: center;
}

.form-message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Service Area */
.service-area {
    background-color: var(--bg-secondary);
    padding: 4rem 0;
    text-align: center;
}

.service-area h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.service-area > p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 900px;
    margin: 2rem auto 2rem;
}

.area-item {
    background-color: var(--bg-card);
    padding: 1rem;
    border-radius: 5px;
    box-shadow: var(--shadow);
    font-weight: 600;
}

.area-note {
    color: var(--text-secondary);
    font-style: italic;
}

/* ================================
   Responsive Design
   ================================ */

@media (max-width: 855px) {
    .logo {position: relative;}
    .logo img {height: 150px !important;}
    .navbar {margin-top: 0;}
    .hero-content {padding-bottom: 3rem;}
    .hero {height: 600px;}

}
@media (max-width: 768px) {

    .services-detail .container {
        display: block
    }

    /* Navigation */
    .mobile-menu-toggle {
        display: flex;
        margin-left: auto;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-card);
        flex-direction: column;
        padding: 0;
        box-shadow: var(--shadow);
        max-height: 0;
        overflow: hidden;
        transition: var(--transition);
        
    }

    .nav-menu.active {
        max-height: 500px;
        padding: 1rem;
    }

    .nav-menu a {
        padding: 1rem;
        width: 100%;
        text-align: center;
    }

    /* Hero */
    .hero {
        height: 600px;
    }
    .hero-content {padding-bottom: 5rem;}

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }
    .page-header .container {
        margin-top: 170px;
    }

    /* Grids */
    .features-grid,
    .services-grid,
    .values-grid,
    .equipment-grid,
    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    /* About Grid */
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image-placeholder {
        height: 300px;
    }

    /* Contact Grid */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section a:hover {
        padding-left: 0;
    }
    /* Page Headers */
    .page-header h1 {
        font-size: 2rem;
    }

    .section-header h2,
    .values h2,
    .equipment h2,
    .certifications h2,
    .testimonials h2,
    .service-area h2 {
        font-size: 2rem;
    }

    .service-detail-card {
        padding: 1.5rem;
    }

    .service-list {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 540px) {
    .hero-content {padding-bottom: 2rem;}
}
@media (max-width: 480px) {
    .nav-menu{
        padding: 0;
    }
    .hero-title {
        font-size: 1.7rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 0.7rem 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }
}



/* ================================
   Carousel Gallery
   ================================ */
.gallery-category {
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-color);
}

.gallery-category:last-of-type {
    border-bottom: none;
}

.category-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.category-icon {
    font-size: 2.5rem;
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.carousel-container {
    overflow: hidden;
    width: 100%;
    border-radius: 10px;
}

.carousel-track {
    display: flex;
    gap: 0;  /* Remove gap for consistent width calculations */
    transition: transform 0.4s ease-in-out;
    padding: 0.5rem 0;
    
}

.carousel-item {
    min-width: 50%;  /* 2 items per view on desktop/tablet */
    max-width: 50%;
    flex-shrink: 0;
    flex-grow: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 0 10px;  /* Internal spacing instead of gap */
}

.carousel-item img {
    width: 100%;
    max-width: 400px;
    height: auto; 
    max-height: 500px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: block;
}

.carousel-item img:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.carousel-item iframe {
    width: 100%;
    max-width: 500px;
    height: 300px;
    max-height: 500px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: block;
    border: none;
}

.carousel-item iframe:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.carousel-btn {
    position: relative;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    z-index: 10;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-btn:disabled:hover {
    transform: scale(1);
    background: var(--primary-color);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

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

.carousel-dot:hover {
    background: var(--text-light);
}

.carousel-dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 5px;
}

.gallery-image-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    color: var(--white);
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.gallery-image-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.gallery-image-placeholder p {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

/* Responsive Carousel */
@media (max-width: 1024px) {
    .carousel-item {
        min-width: 50%;  /* 2 items per view on tablet */
        max-width: 50%;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        min-width: 100%;  /* 1 item per view on mobile/tablet */
        max-width: 100%;
    }
    
    .carousel-btn {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
    
    .category-icon {
        font-size: 2rem;
    }
}

@media (max-width: 540px) {
    .carousel-item {
        min-width: 100%;
        max-width: 100%;
        padding: 0 5px;  /* Reduce padding on mobile */
    }
    
    .carousel-track {
        gap: 0;
    }
    
    .carousel-btn {
        display: none;
    }
    
    .carousel-wrapper {
        gap: 0;
    }
    
    .gallery-category {
        padding: 2rem 0;
    }
    
    .carousel-item img {
        max-width: 300px;
        width: 100%;
        max-height: 300px;
    }
    
    .carousel-item iframe {
        max-width: 300px;
        width: 100%;
        height: 200px;
        max-height: 300px;
    }
}

/* ================================
   Animations
   ================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ================================
   Utility Classes
   ================================ */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* ================================
   Dark Theme Additional Styles
   ================================ */
@media (prefers-color-scheme: dark) {
    /* Input fields */
    .form-group input,
    .form-group textarea,
    .form-group select {
        background-color: var(--bg-card);
        color: var(--text-primary);
        border-color: var(--border-color);
    }
    
    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus {
        background-color: var(--bg-secondary);
        border-color: var(--primary-color);
    }
    
    /* Images - add slight brightness in dark mode */
    img {
        opacity: 0.95;
    }

    /* Page header gradient overlay for better text contrast */
    .page-header::before {
        background: linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(0, 78, 137, 0.85) 100%);
    }
    
    /* Hero section */
    .hero::before {
        background: linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(255, 107, 53, 0.85) 100%);
    }
    
    /* Ensure white text stays white on colored backgrounds */
    .hero h1,
    .hero p,
    .page-header h1,
    .page-header p,
    .cta h2,
    .cta p,
    .footer h3,
    .footer h4,
    .footer p,
    .footer li,
    .footer a {
        color: #ffffff !important;
    }
    
    /* All h2 inside container divs should be white */
    .container h2 {
        color: #ffffff;
    }
    
    /* Buttons keep their original styling */
    .btn-primary,
    .btn-primary-nav {
        color: #ffffff;
    }
}

/* ================================
   Equipment Carousel (All Devices)
   ================================ */
.desktop-only {
    display: none;
}

.mobile-only {
    display: block;
}

/* Equipment carousel styling for all screen sizes */
.equipment-carousel .carousel-track {
    gap: 0;  /* Remove gap to ensure consistent width calculations */
}

.equipment-carousel .carousel-item {
    min-width: 100%;
    max-width: 100%;
    flex-shrink: 0;
    flex-grow: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 350px;
    padding: 20px;
    box-sizing: border-box;
}

.equipment-carousel .carousel-item img {
    width: 100%;
    max-width: 600px;
    max-height: 500px;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: none !important;
}

.equipment-carousel .carousel-item img:hover {
    box-shadow: none !important;
    transform: none;
}

@media (max-width: 768px) {
    /* Adjust carousel for smaller screens */
    .equipment-carousel .carousel-item {
        min-height: 250px;
        padding: 10px;
    }
    
    .equipment-carousel .carousel-item img {
        max-width: 100%;
        max-height: 350px;
    }
}
