/* Root Variables */
:root {
    --bg-dark: #071e33;
    --bg-darker: #04111e;
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-card-hover: rgba(255, 255, 255, 0.1);
    --primary-color: #2fa8e0;
    --secondary-color: #4db8f0;
    --text-white: #ffffff;
    --text-gray: #b9c4cf;
    --gradient-main: linear-gradient(135deg, #3fb6ef 0%, #0e5a93 100%);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --nav-height: 80px;
    --transition: all 0.3s ease;
}

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

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

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.center-text {
    text-align: center;
}

/* Section Dividers */
.section-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(47, 168, 224, 0.3), transparent);
    width: 80%;
    margin: 0 auto;
}

/* Utilities */
.text-highlight {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(47, 168, 224, 0.3);
}

.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 0 15px rgba(47, 168, 224, 0.3);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
    box-shadow: 0 0 25px rgba(47, 168, 224, 0.5);
}

.btn-secondary {
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    background: transparent;
}

.btn-secondary:hover {
    border-color: var(--text-white);
    background: rgba(255, 255, 255, 0.1);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: var(--transition);
    background: rgba(7, 30, 51, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* Logo Style */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
    padding: 10px 0;
}

.logo-img {
    height: 48px;
    width: 48px;
    object-fit: contain;
    border-radius: 10px;
    transition: var(--transition);
}

.logo-container:hover .logo-img {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-white);
}

.logo-text small {
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: var(--secondary-color);
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-gray);
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

.menu-toggle {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--nav-height);
}

.hero-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(42, 169, 224, 0.18) 0%, rgba(7, 30, 51, 1) 100%);
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    width: 100%;
}

.brand-label {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--primary-color);
    border: 1px solid rgba(47, 168, 224, 0.2);
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Common Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 15px;
}

.section-desc {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-card {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(47, 168, 224, 0.1);
    border-color: rgba(47, 168, 224, 0.3);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
}

.portfolio-info {
    padding: 20px;
}

.portfolio-info h3 {
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.portfolio-info p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 30px;
    border-radius: 15px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 25px;
    flex-grow: 1;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-link:hover {
    gap: 12px;
}

/* Achievements */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    background: var(--bg-card);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.stat-card p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* Testimonials Carousel */
.testimonials-carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 20px 0;
}

.testimonials-track {
    display: flex;
    gap: 30px;
    animation: scroll-left 30s linear infinite;
    will-change: transform;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.testimonial-card {
    min-width: 400px;
    max-width: 400px;
    padding: 40px;
    border-radius: 15px;
    flex-shrink: 0;
}

.quote-icon {
    font-size: 2rem;
    color: rgba(47, 168, 224, 0.2);
    margin-bottom: 20px;
}

.feedback-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    font-style: italic;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    background: #333;
    border-radius: 50%;
}

.stars {
    color: var(--primary-color);
    font-size: 0.8rem;
    margin-top: 5px;
}

/* Testimonial Carousel Responsive Styles */
/* Tablet Devices (768px - 1024px) */
@media (max-width: 1024px) {
    .testimonial-card {
        min-width: 350px;
        max-width: 350px;
        padding: 30px;
    }

    .feedback-text {
        font-size: 1rem;
    }

    .quote-icon {
        font-size: 1.8rem;
    }
}

/* Mobile Devices (up to 767px) */
@media (max-width: 767px) {
    .testimonials-carousel {
        padding: 10px 0;
    }

    .testimonials-track {
        gap: 20px;
        animation: scroll-left 40s linear infinite;
        /* Slower for mobile */
    }

    .testimonial-card {
        min-width: 280px;
        max-width: 280px;
        padding: 25px;
    }

    .feedback-text {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .quote-icon {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .client-avatar {
        width: 40px;
        height: 40px;
    }

    .client-info {
        gap: 12px;
    }

    .client-info h4 {
        font-size: 0.95rem;
    }

    .stars {
        font-size: 0.75rem;
    }
}

/* Small Mobile Devices (up to 480px) */
@media (max-width: 480px) {
    .testimonial-card {
        min-width: 260px;
        max-width: 260px;
        padding: 20px;
    }

    .feedback-text {
        font-size: 0.9rem;
    }
}

/* ABOUT PAGE STYLES */
.about-section {
    padding-top: 150px;
    /* Account for fixed nav */
}

.back-link {
    display: inline-block;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-weight: 500;
}

.about-header {
    margin-bottom: 40px;
    text-align: center;
}

.about-title {
    font-size: 3.5rem;
    color: var(--text-white);
    margin-bottom: 10px;
}

.about-subtitle {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 400;
}

.about-intro {
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 60px;
}

.about-intro p {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 900px;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.mv-card {
    padding: 30px;
    background: rgba(47, 168, 224, 0.03);
    border-left: 3px solid var(--primary-color);
    border-radius: 5px;
}

.mv-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-white);
}

.mv-card p {
    color: var(--text-gray);
}

.team-section {
    margin-top: 60px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
    justify-content: center;
}

.team-card {
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.team-avatar {
    width: 120px;
    height: 120px;
    background: #333;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 2px solid var(--primary-color);
    object-fit: cover;
}

.team-card h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.role {
    color: var(--primary-color);
    font-family: var(--font-body);
    font-weight: 500;
}


/* Footer Updates */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 30px;
    background: var(--bg-darker);
}

.footer-grid {
    display: grid;
    /* 3 columns as requested */
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    margin-bottom: 25px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--text-gray);
    font-size: 0.95rem;
}

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

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

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: #555;
}

.legal-links a:hover {
    color: var(--text-white);
}

/* CTA Section */
.cta {
    text-align: center;
    background: linear-gradient(0deg, rgba(7, 30, 51, 0) 0%, rgba(42, 169, 224, 0.08) 100%);
}

.cta h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 40px;
}


/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }

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

    .logo-img {
        height: 40px;
        width: 40px;
    }

    .logo-text {
        font-size: 0.95rem;
    }

    .logo-text small {
        font-size: 0.52rem;
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background: rgba(4, 17, 30, 0.97);
        flex-direction: column;
        padding: 40px;
        transform: translateY(-100%);
        transition: var(--transition);
        z-index: 999;
        opacity: 0;
        pointer-events: none;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .menu-toggle {
        display: block;
    }

    .menu-toggle .bar {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--text-white);
        margin: 5px 0;
        transition: var(--transition);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
}



/* Contact Section (Added for About Page) */
.contact-section-wrapper {
    margin-top: 100px;
    margin-bottom: 50px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
}

.contact-form {
    padding: 40px;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

.form-textarea {
    height: 150px;
    resize: vertical;
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-box {
    padding: 30px;
    border-radius: 15px;
    height: 100%;
}

.info-item {
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.info-content h4 {
    color: var(--text-white);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-content p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-content a {
    color: var(--text-gray);
    transition: var(--transition);
}

.info-content a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info-box {
        height: auto;
    }
}

/* Services Page Styles */
.services-header {
    margin-bottom: 60px;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 20px;
}

.page-desc {
    color: var(--text-gray);
    max-width: 600px;
    font-size: 1.1rem;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.03), transparent 70%);
    pointer-events: none;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.card-cyan {
    border-top: 1px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(47, 168, 224, 0.05);
}

.card-purple {
    border-top: 1px solid var(--secondary-color);
    box-shadow: 0 0 20px rgba(42, 169, 224, 0.05);
}

.card-pink {
    border-top: 1px solid #ff0055;
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.05);
}

.card-pink .service-title,
.card-pink .pricing-price {
    color: #ff0055;
    text-shadow: 0 0 10px rgba(255, 0, 85, 0.3);
}

.card-yellow {
    border-top: 1px solid #ffcc00;
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.05);
}

.card-yellow .service-title,
.card-yellow .pricing-price {
    color: #ffcc00;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.3);
}

.card-purple .service-title,
.card-purple .pricing-price {
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(42, 169, 224, 0.3);
}

.card-cyan .service-title,
.card-cyan .pricing-price {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(47, 168, 224, 0.3);
}


.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-desc {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 25px;
    min-height: 50px;
}

.pricing-price {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.feature-list {
    margin-bottom: 40px;
}

.feature-list li {
    margin-bottom: 10px;
    color: var(--text-gray);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list li i {
    color: var(--text-white);
    /* Or match card color if preferred, but white checkmark is standard */
    font-size: 0.8rem;
}

.pricing-card.card-cyan .feature-list li i {
    color: var(--primary-color);
}

.pricing-card.card-purple .feature-list li i {
    color: var(--secondary-color);
}

.pricing-card.card-pink .feature-list li i {
    color: #ff0055;
}

.pricing-card.card-yellow .feature-list li i {
    color: #ffcc00;
}

.btn-learn-more {
    display: block;
    width: 100%;
    padding: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: var(--text-white);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: var(--transition);
    background: transparent;
}

.pricing-card.card-cyan .btn-learn-more:hover {
    background: rgba(47, 168, 224, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pricing-card.card-purple .btn-learn-more:hover {
    background: rgba(42, 169, 224, 0.1);
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.pricing-card.card-pink .btn-learn-more:hover {
    background: rgba(255, 0, 85, 0.1);
    border-color: #ff0055;
    color: #ff0055;
}

.pricing-card.card-yellow .btn-learn-more:hover {
    background: rgba(255, 204, 0, 0.1);
    border-color: #ffcc00;
    color: #ffcc00;
}

/* Pricing Card Hover Effects (Stronger Gradient) */
.pricing-card.card-cyan:hover {
    background: linear-gradient(145deg, rgba(47, 168, 224, 0.15) 0%, rgba(47, 168, 224, 0.02) 100%);
    border-color: rgba(47, 168, 224, 0.3);
    box-shadow: 0 15px 40px rgba(47, 168, 224, 0.15);
}

.pricing-card.card-purple:hover {
    background: linear-gradient(145deg, rgba(42, 169, 224, 0.15) 0%, rgba(42, 169, 224, 0.02) 100%);
    border-color: rgba(42, 169, 224, 0.3);
    box-shadow: 0 15px 40px rgba(42, 169, 224, 0.15);
}

.pricing-card.card-pink:hover {
    background: linear-gradient(145deg, rgba(255, 0, 85, 0.15) 0%, rgba(255, 0, 85, 0.02) 100%);
    border-color: rgba(255, 0, 85, 0.3);
    box-shadow: 0 15px 40px rgba(255, 0, 85, 0.15);
}

.pricing-card.card-yellow:hover {
    background: linear-gradient(145deg, rgba(255, 204, 0, 0.15) 0%, rgba(255, 204, 0, 0.02) 100%);
    border-color: rgba(255, 204, 0, 0.3);
    box-shadow: 0 15px 40px rgba(255, 204, 0, 0.15);
}

/* Floating WhatsApp Button */
/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    /* Moved to right */
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    padding: 12px 25px;
    /* Pill shape padding */
    text-align: center;
    font-size: 16px;
    /* Adjusted font size for text */
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    /* Space between icon and text */
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: translateY(-5px);
    /* Subtle lift instead of scale */
    color: #FFF;
}

.whatsapp-icon {
    font-size: 24px;
    /* Specific sizes for icon */
}

.whatsapp-text {
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

/* Mobile S (320px) and M (375px) Fixes */
@media (max-width: 480px) {

    .portfolio-grid,
    .services-grid,
    .pricing-grid,
    .testimonials-grid,
    .achievements-grid,
    .mission-vision-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .container {
        padding: 0 20px;
    }

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

    .section-title,
    .cta h2,
    .about-title,
    .page-title {
        font-size: 2.2rem;
    }

    .about-subtitle {
        font-size: 1.5rem;
    }

    .brand-label {
        font-size: 0.8rem;
    }

    .testimonial-card,
    .portfolio-card,
    .pricing-card,
    .team-card,
    .about-intro,
    .mv-card,
    .service-card,
    .contact-form,
    .contact-info-box {
        padding: 20px;
    }

    .achievements-grid {
        padding: 20px;
    }

    .section-padding {
        padding: 50px 0;
    }

    .footer-grid {
        gap: 30px;
    }

    /* Contact Page Mobile Alignment */
    .contact-section-wrapper {
        margin-top: 30px;
        margin-bottom: 30px;
        width: 100%;
    }

    .contact-grid {
        width: 100%;
        /* justify-items: center removed to let items stretch */
    }

    .contact-form,
    .contact-info-wrapper {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        /* Ensure centering if width < 100% */
    }

    /* Force text wrapping for long emails on small screens */
    .info-content a,
    .info-content p {
        word-break: break-word;
        overflow-wrap: break-word;
    }
}

/* Specific Fixes for 320px Screens */
@media (max-width: 360px) {
    .container {
        padding: 0 15px;
    }

    .testimonial-card,
    .portfolio-card,
    .pricing-card,
    .team-card,
    .about-intro,
    .mv-card,
    .service-card,
    .contact-form,
    .contact-info-box {
        padding: 15px;
    }

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

    .section-title,
    .page-title {
        font-size: 1.8rem;
    }
}

/* Service Detail Pages */
.service-hero {
    padding-top: 150px;
    /* text-align: center; removed to allow back-link to be left aligned */
}

.service-hero-content {
    text-align: center;
}

.service-hero-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.service-hero-desc {
    font-size: 1.25rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

.service-details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.service-details-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-white);
}

.service-details-content h3 {
    font-size: 1.8rem;
    margin: 30px 0 15px;
    color: var(--primary-color);
}

.service-details-content p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-features-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.service-features-list li {
    padding: 12px 0;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 15px;
}

.service-features-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.service-details-sidebar {
    padding: 40px;
    border-radius: 15px;
    position: sticky;
    top: 100px;
}

.service-details-sidebar h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--text-white);
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.highlight-item:last-of-type {
    border-bottom: none;
}

.highlight-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.highlight-item h4 {
    color: var(--text-white);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.highlight-item p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

@media (max-width: 968px) {
    .service-details-grid {
        grid-template-columns: 1fr;
    }

    .service-details-sidebar {
        position: relative;
        top: 0;
    }
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.project-card {
    padding: 35px 30px;
    border-radius: 15px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--secondary-color);
    box-shadow: 0 12px 40px rgba(42, 169, 224, 0.12);
}

.project-icon {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 18px;
}

.project-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.project-tag {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.project-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Clients Grid */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.client-card {
    padding: 40px 25px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.client-card:hover {
    transform: translateY(-6px);
    border-color: var(--secondary-color);
    box-shadow: 0 12px 40px rgba(42, 169, 224, 0.12);
}

.client-card i {
    font-size: 2.4rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.client-card h4 {
    font-size: 1.15rem;
    color: var(--text-white);
    margin-bottom: 6px;
}

.client-card p {
    color: var(--text-gray);
    font-size: 0.85rem;
}
/* Hide the long sub-line of the wordmark on very small screens */
@media (max-width: 480px) {
    .logo-text small {
        display: none;
    }

    .logo-text {
        font-size: 0.9rem;
        letter-spacing: 0.5px;
    }
}

/* ============================================================
   NICHE LOOK & FEEL — imagery (construction / maintenance)
   ============================================================ */

/* Hero with site photography */
.hero-home {
    background:
        linear-gradient(rgba(7, 30, 51, 0.82), rgba(7, 30, 51, 0.92)),
        url('assets/images/hero-worker.jpg') center 30% / cover no-repeat;
}

.hero-home::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 70%, var(--bg-dark));
    pointer-events: none;
}

/* Photo header on service cards (home) */
.service-card {
    overflow: hidden;
}

.service-card-img {
    align-self: stretch;
    height: 190px;
    margin: 0 -30px 24px -30px;
    background-size: cover;
    background-position: center;
    border-bottom: 3px solid var(--primary-color);
}

/* Photo header on pricing/service cards (services page) */
.pricing-card-img {
    height: 200px;
    margin: -40px -40px 28px -40px;
    background-size: cover;
    background-position: center;
}

.card-cyan .pricing-card-img {
    border-bottom: 3px solid var(--primary-color);
}

.card-purple .pricing-card-img {
    border-bottom: 3px solid var(--secondary-color);
}

/* Project cards as photos with overlay caption */
.project-photo {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 340px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.project-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-photo:hover img {
    transform: scale(1.06);
}

.project-photo.is-logo img {
    object-fit: contain;
    background: #0a0a0a;
    padding: 40px;
}

.project-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 26px;
    background: linear-gradient(to top, rgba(4, 17, 30, 0.95) 8%, rgba(4, 17, 30, 0.45) 50%, rgba(4, 17, 30, 0.05) 100%);
}

.project-overlay .project-tag {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.project-overlay h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 8px;
}

.project-overlay p {
    color: var(--text-gray);
    font-size: 0.92rem;
}

/* Client logos on white chips */
.client-logo {
    background: #fff;
    border-radius: 14px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 26px;
    transition: var(--transition);
}

.client-logo:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* About intro with image */
.about-intro-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-photo {
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Service detail hero with photo banner */
.service-hero.has-photo {
    position: relative;
    background-size: cover;
    background-position: center;
}

.service-hero.has-photo .service-hero-content,
.service-hero.has-photo .back-link {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .about-intro-grid {
        grid-template-columns: 1fr;
    }
}

/* Inline service-card icon accent */
.service-card h3 i {
    color: var(--primary-color);
    margin-right: 8px;
}

/* ============================================================
   CREDIBILITY / CORPORATE POLISH
   ============================================================ */

/* Hero "trusted by" line */
.hero-trust {
    margin-top: 30px;
    font-size: 0.9rem;
    color: var(--text-gray);
    letter-spacing: 0.3px;
}

.hero-trust strong {
    color: #fff;
    font-weight: 600;
}

/* Left-aligned section title (overview) */
.section-title.align-left {
    text-align: left;
}

/* Company overview key points */
.overview-points {
    margin: 26px 0 32px;
}

.overview-points li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    color: var(--text-gray);
}

.overview-points li i {
    color: var(--primary-color);
    margin-top: 4px;
}

/* Why Choose Us cards */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 26px;
}

.why-card {
    display: flex;
    gap: 18px;
    padding: 28px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: var(--bg-card-hover);
}

.why-card .why-icon {
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    background: var(--gradient-main);
}

.why-card h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.why-card p {
    color: var(--text-gray);
    font-size: 0.92rem;
}
