:root {
    --primary-blue: #0D3B66;
    --primary-yellow: #F4D35E;
    --light-bg: #f7f9fc;
    --text-dark: #333;
    --text-light: #555;
}

/* Fix section spacing for fixed navbar */
section {
    scroll-margin-top: 72px;
}

html {
    scroll-padding-top: 72px;
}

body {
    margin: 0;
    padding: 0;
}

#about,
#services,
#projects,
#testimonials,
#contact {
    margin-top: 0;
    padding-top: 5rem;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1a5490 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(244, 211, 94, 0.3);
    border-top: 4px solid var(--primary-yellow);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 2rem;
}

.loading-text {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.loading-subtext {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-dark);
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title h2 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 0.5rem;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.btn {
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    font-size: 1rem;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(244, 211, 94, 0.25);
}

.btn-secondary {
    background: var(--primary-blue);
    color: #fff;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(13, 59, 102, 0.25);
}

.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Navbar --- */
.navbar {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100% !important;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 4px 25px rgba(13, 59, 102, 0.25);
    border-bottom: 2px solid rgba(13, 59, 102, 0.1);
    transition: all 0.3s ease;
    height: 72px;
}

.navbar.navbar-hidden {
    transform: translateY(-100%);
}

.navbar.scrolled {
    box-shadow: 0 6px 30px rgba(13, 59, 102, 0.3);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

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

.logo-icon {
    background: var(--primary-yellow);
    color: var(--primary-blue);
    font-weight: 800;
    font-size: 1.2rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
    transform: rotate(-10deg) scale(1.1);
}

.logo-text h1 {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0;
    color: var(--primary-blue);
}

.logo-text p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    font-weight: 500;
}

.logo-img {
    height: 40px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    position: relative;
    padding: 4px 0;
    transition: color 0.2s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-yellow);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-blue);
    cursor: pointer;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(13, 59, 102, 0.15);
    padding: 1rem;
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    border-bottom: 3px solid var(--primary-yellow);
}

.mobile-nav.active {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(13, 59, 102, 0.1);
}

.mobile-nav li {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav li:last-child {
    border-bottom: none;
}

.mobile-nav a {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s ease;
    position: relative;
}

.mobile-nav a:hover {
    background: var(--light-bg);
    color: var(--primary-blue);
    padding-left: 2rem;
}

.mobile-nav a::before {
    content: '';
    width: 4px;
    height: 100%;
    background: var(--primary-yellow);
    position: absolute;
    left: 0;
    top: 0;
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.mobile-nav a:hover::before {
    transform: scaleY(1);
}

/* Hero section fix */
.hero {
    min-height: 100vh;
    height: 100vh;
    padding-top: 0 !important;
    position: relative;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.mobile-nav.active {
    display: block !important;
    transform: translateY(0) !important;
    opacity: 1 !important;
}

/* Fix for very small screens */
@media (max-width: 480px) {
    .nav-content {
        padding: 0 12px;
    }

    .logo-text h1 {
        font-size: 1.2rem;
    }

    .logo-text p {
        font-size: 0.8rem;
    }
}

/* Ensure all sections account for fixed navbar */
section {
    position: relative;
}

#home {
    padding-top: 0 !important;
}

/* Force navbar to stay on top */
body {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* --- Hero Section with Auto-sliding Background --- */
.hero {
    padding-top: 72px;
    min-height: 95vh;
    position: relative;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    width: 100%;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0 0 0.6rem 0;
    line-height: 1.1;
    text-align: center;
}

.hero-content .highlight {
    color: var(--primary-yellow);
    display: inline-block;
}

.hero-content p {
    font-size: 1.35rem;
    color: #faf0ca;
    margin: 0 0 2.2rem 0;
    text-align: center;
    max-width: 600px;
}

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

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 2.5rem;
    gap: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 2rem;
}

.hero-stats .stat {
    text-align: center;
}

.hero-stats .stat h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    color: var(--primary-yellow);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-stats .stat p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.2;
    color: white;
    font-weight: 500;
}

/* Desktop-specific improvements */
@media (min-width: 1024px) {
    .hero-stats .stat h3 {
        font-size: 3rem;
        margin-bottom: 0.8rem;
    }

    .hero-stats .stat p {
        font-size: 1.1rem;
        font-weight: 600;
        letter-spacing: 0.5px;
        text-transform: uppercase;
    }
}

@media (min-width: 1200px) {
    .hero-stats .stat h3 {
        font-size: 3.2rem;
    }

    .hero-stats .stat p {
        font-size: 1.2rem;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .hero-stats {
        margin-top: 2rem;
        gap: 1.5rem;
        padding-top: 1.5rem;
        margin-bottom: 2rem;
    }

    .hero-stats .stat h3 {
        font-size: 2rem;
    }

    .hero-stats .stat p {
        font-size: 0.85rem;
        white-space: nowrap;
        text-transform: none;
        letter-spacing: normal;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        margin-top: 1.8rem;
        gap: 1rem;
        padding-top: 1.2rem;
        margin-bottom: 2.5rem;
    }

    .hero-stats .stat h3 {
        font-size: 1.8rem;
        margin-bottom: 0.3rem;
    }

    .hero-stats .stat p {
        font-size: 0.8rem;
        white-space: nowrap;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .hero-stats {
        margin-top: 2rem;
        gap: 1.5rem;
        padding-top: 1.5rem;
        margin-bottom: 2rem;
    }

    .hero-stats .stat h3 {
        font-size: 2rem;
    }

    .hero-stats .stat p {
        font-size: 0.85rem;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        margin-top: 1.8rem;
        gap: 1rem;
        padding-top: 1.2rem;
        margin-bottom: 2.5rem;
    }

    .hero-stats .stat h3 {
        font-size: 1.8rem;
        margin-bottom: 0.3rem;
    }

    .hero-stats .stat p {
        font-size: 0.8rem;
        white-space: nowrap;
    }
}

@media (max-width: 360px) {
    .hero-stats .stat p {
        font-size: 0.75rem;
        /* Even smaller for very small screens */
    }
}

/* Ensure container centering */
.hero .container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

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

.hero-slide:nth-child(1) {
    background-image: url('../images/slide1.jpg');
}

.hero-slide:nth-child(2) {
    background-image: url('../images/slide2.jpg');
}

.hero-slide:nth-child(3) {
    background-image: url('../images/slide3.jpg');
}

.hero-slide:nth-child(4) {
    background-image: url('../images/slide4.jpg');
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(13, 59, 102, 0.85), rgba(13, 59, 102, 0.7));
    z-index: -1;
}

/* --- About & Services --- */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(13, 59, 102, 0.15);
}

#services {
    background: var(--light-bg);
}

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

.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    box-shadow: 0 4px 20px rgba(13, 59, 102, 0.06);
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 10px 40px rgba(13, 59, 102, 0.12);
    transform: translateY(-8px);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: var(--primary-yellow);
    color: var(--primary-blue);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    transition: transform 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-10deg);
}

.service-card h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin: 0 0 0.5rem 0;
}

/* --- FIXED CAROUSEL STYLES --- */
.carousel-container {
    max-width: 100vw;
    margin: 0 auto;
    position: relative;
    padding: 0 50px;
}

.swiper {
    width: 100%;
    height: auto;
    overflow: hidden;
    padding: 20px 0 60px 0;
}

.swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
    align-items: stretch;
}

/* Hide any loading indicators and progress bars */
.swiper-lazy-preloader,
.swiper-notification,
.swiper-button-lock,
::-webkit-progress-bar,
::-webkit-progress-value,
progress {
    display: none !important;
}

/* Prevent browser loading indicators */
.swiper-wrapper,
.swiper-slide {
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Hide Navigation buttons */
.swiper-button-next,
.swiper-button-prev {
    display: none !important;
}

/* Pagination dots - PROPERLY CENTERED */
.swiper-pagination {
    position: static !important;
    text-align: center !important;
    margin: 30px auto 0 auto !important;
    width: 100% !important;
    display: block !important;
    padding: 0 !important;
    left: 0 !important;
    right: 0 !important;
}

.swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    background: #ccc !important;
    opacity: 1 !important;
    margin: 0 6px !important;
    transition: all 0.3s ease !important;
    border-radius: 50% !important;
    display: inline-block !important;
}

.swiper-pagination-bullet-active {
    background: var(--primary-blue) !important;
    transform: scale(1.3) !important;
}

/* --- Projects Section --- */
.project-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s ease;
    width: 100%;
    max-width: 350px;
    height: 450px;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.project-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-image {
    transform: scale(1.08);
}

.project-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-content h3 {
    color: var(--primary-blue);
    font-size: 1.4rem;
    margin: 0 0 15px 0;
    font-weight: 700;
    line-height: 1.3;
}

.project-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex-grow: 1;
    font-size: 0.95rem;
}

.project-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.project-tag {
    background: var(--primary-yellow);
    color: var(--primary-blue);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-tag:nth-child(2) {
    background: var(--primary-blue);
    color: white;
}

/* --- Testimonials Section --- */
#testimonials {
    background: var(--light-bg);
}

.testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 350px;
    height: 450px;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
    margin: 0 auto;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.rating {
    color: #ffc107;
    font-size: 1.3rem;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 3px;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    flex-grow: 1;
    margin: 0 0 25px 0;
    position: relative;
    font-size: 1rem;
    line-height: 1.6;
    display: flex;
    align-items: center;
}

.testimonial-text::before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 4rem;
    color: var(--primary-yellow);
    position: absolute;
    top: -20px;
    left: -10px;
    opacity: 0.3;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.author-photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-yellow);
    transition: transform 0.3s ease;
}

.testimonial-card:hover .author-photo {
    transform: scale(1.1);
}

.author-info h4 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--primary-blue);
    font-weight: 700;
}

.author-info p {
    margin: 0;
    color: #777;
    font-size: 0.9rem;
}

/* --- Contact Section --- */
.contact-section {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 40px rgba(13, 59, 102, 0.1);
    margin: 0 auto;
    max-width: 700px;
    padding: 3rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 0rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0rem;
}

.contact-item h4,
p {
    margin-bottom: 0rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-yellow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.2rem;
}

.map-container {
    margin-top: 2rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
}

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

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    box-sizing: border-box;
    font-size: 1rem;
    padding: 1rem;
    border-radius: 10px;
    border: 1.5px solid #dde6f1;
    background: var(--light-bg);
    outline: none;
    transition: all 0.23s;
    font-family: inherit;
    margin-bottom: 2rem;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-color: var(--primary-blue);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(13, 59, 102, 0.1);
}

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

.form-submit-btn {
    width: 100%;
    font-size: 1.1rem;
    padding: 1rem;
    margin-top: 0.6rem;
    display: block;
    align-items: center;
}

.form-submit-btn:disabled {
    background-color: #a0a0a0;
    cursor: wait;
}

.form-msg-box {
    text-align: center;
    margin-top: 1rem;
    padding: 0.8rem;
    border-radius: 7px;
    font-weight: 600;
    display: none;
}

.form-msg-box.success {
    background: #e7ffe9;
    color: #28853e;
    display: block;
}

.form-msg-box.error {
    background: #fff2f0;
    color: #aa2d2d;
    display: block;
}

/* --- Simple Clean Footer --- */
.footer {
    background: var(--primary-blue);
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

/* Company Info Section */
.company-info {
    max-width: 350px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-yellow);
    color: var(--primary-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
}

.footer-logo h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--primary-yellow);
}

.company-description {
    color: #cbd5e0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: var(--primary-yellow);
    color: var(--primary-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 211, 94, 0.3);
}

/* Footer Sections */
.footer-section h3 {
    color: var(--primary-yellow);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-yellow);
}

/* Contact Section */
.contact-section {
    background: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.contact-section h3 {
    color: var(--primary-yellow);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-section .contact-info p {
    color: #cbd5e0;
    margin: 0 0 0.8rem 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: none;
    padding: 0;
}

.contact-section .contact-info i {
    color: var(--primary-yellow);
    width: 16px;
    font-size: 1rem;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    color: #cbd5e0;
    font-size: 0.85rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-btn i {
    font-size: 28px;
    color: white;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

/* Pulse Animation */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }


}

@media (max-width: 950px) {
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .section {
        padding: 4rem 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .carousel-container {
        padding: 0 15px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Mobile optimized cards */
    .project-card,
    .testimonial-card {
        width: 100%;
        max-width: 320px;
        height: auto;
        min-height: 420px;
    }

    .project-content,
    .testimonial-card {
        padding: 20px;
    }

    .project-content h3,
    .author-info h4 {
        font-size: 1.2rem;
    }

    .project-content p,
    .testimonial-text {
        font-size: 0.9rem;
    }

    .project-image {
        height: 180px;
    }

    .testimonial-text::before {
        font-size: 3rem;
        top: -15px;
        left: -5px;
    }

    .author-photo {
        width: 60px;
        height: 60px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .contact-section .contact-info p {
        justify-content: center;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-btn {
        width: 55px;
        height: 55px;
    }

    .whatsapp-btn i {
        font-size: 24px;
    }

    /* Hero mobile responsive improvements */
    .hero-content {
        padding: 0 16px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        padding: 0 10px;
    }

    .container {
        padding: 0 16px;
    }

    .section {
        padding: 3rem 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    /* Smaller mobile cards */
    .project-card,
    .testimonial-card {
        max-width: 280px;
        min-height: 380px;
    }

    .project-content,
    .testimonial-card {
        padding: 16px;
    }

    .project-content h3,
    .author-info h4 {
        font-size: 1.1rem;
    }

    .project-content p,
    .testimonial-text {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .project-image {
        height: 160px;
    }

    .project-tag {
        font-size: 0.75rem;
        padding: 4px 8px;
    }

    .rating {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .testimonial-text::before {
        font-size: 2.5rem;
        top: -10px;
        left: 0px;
    }

    .author-photo {
        width: 50px;
        height: 50px;
    }

    .author-info h4 {
        font-size: 1rem;
    }

    .author-info p {
        font-size: 0.8rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

@media (max-width: 360px) {

    /* Very small phones */
    .project-card,
    .testimonial-card {
        max-width: 260px;
        min-height: 350px;
    }

    .project-content,
    .testimonial-card {
        padding: 12px;
    }

    .project-image {
        height: 140px;
    }
}