/* ==========================================
   CSS RESET & BASE STYLES
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    outline: none;
}

a:focus {
    outline: none;
}

a:active {
    outline: none;
}

button:focus {
    outline: none;
}

button:active {
    outline: none;
}

ul {
    list-style: none;
}

/* ==========================================
   CONTAINER & LAYOUT
   ========================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 0.8rem 0;
    transition: all 0.3s ease;
    overflow: visible;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    overflow: visible;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    line-height: 0;
}

.logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #2c5f8d;
    line-height: 1.2;
    transition: all 0.3s ease;
    letter-spacing: -0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    background: linear-gradient(135deg, #2c5f8d 0%, #4a90c4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo a:hover .logo-text {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.logo h1 {
    font-size: 1.8rem;
    color: #2c5f8d;
    font-weight: 700;
}

.nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    overflow: visible;
}

.nav-link {
    color: #333;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    overflow: visible;
}

.nav-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    display: inline-block;
    line-height: 1;
}

.nav-link:hover i {
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2c5f8d, #4a90c4);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #2c5f8d;
}

.nav-link:hover::after {
    width: 100%;
}

.btn-header {
    padding: 0.7rem 1.8rem;
    font-size: 0.9rem;
    background: linear-gradient(135deg, #2c5f8d 0%, #4a90c4 100%);
    color: #fff;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(44, 95, 141, 0.3);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 95, 141, 0.4);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #2c5f8d 0%, #4a90c4 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(44, 95, 141, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(44, 95, 141, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #2c5f8d;
    transform: translateY(-2px);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(44, 95, 141, 0.7) 0%, rgba(74, 144, 196, 0.6) 100%),
                url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    text-align: center;
    margin-top: 70px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 2rem 0;
    animation: fadeInUp 1s ease 0.5s both;
}

.hero-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hero-feature:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.hero-feature i {
    font-size: 2rem;
    color: #fff;
}

.hero-feature span {
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-locations {
    margin-top: 2rem;
    font-size: 1.1rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.7s both;
}

.hero-locations p {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hero-locations i.fa-map-marker-alt {
    color: #ffd700;
}

.hero-locations .inline-flag {
    width: 28px;
    height: 18px;
    display: inline-block;
    vertical-align: middle;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.hero .btn {
    animation: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   SECTION COMMON STYLES
   ========================================== */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: #2c5f8d;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
}

/* ==========================================
   ABOUT US SECTION
   ========================================== */
.about {
    background-color: #f9f9f9;
}

.about-overview {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.about-intro {
    font-size: 1.2rem;
    line-height: 1.9;
    color: #555;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    padding: 3rem 0;
    background: linear-gradient(135deg, #2c5f8d 0%, #4a90c4 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(44, 95, 141, 0.2);
}

.stat-item {
    text-align: center;
    color: #fff;
    padding: 1rem;
}

.stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.stat-icon i {
    font-size: 2rem;
    color: #fff;
}

.stat-item h3 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-item p {
    font-size: 1rem;
    opacity: 0.9;
}

.why-choose-section {
    margin-top: 4rem;
}

.section-subtitle-alt {
    font-size: 2rem;
    color: #2c5f8d;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 600;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-values {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.value-item {
    text-align: center;
}

.value-item h3 {
    font-size: 2.5rem;
    color: #2c5f8d;
    margin-bottom: 0.5rem;
}

.value-item p {
    color: #666;
    font-size: 0.95rem;
}

.why-choose-us {
    margin-top: 3rem;
    width: 100%;
}

.why-title {
    font-size: 2rem;
    color: #2c5f8d;
    text-align: center;
    margin-bottom: 2.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-box {
    text-align: center;
    padding: 2rem 1.5rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(44, 95, 141, 0.2);
    border-color: #4a90c4;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #2c5f8d 0%, #4a90c4 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-icon i {
    font-size: 2.2rem;
    color: #fff;
}

.feature-box:hover .feature-icon {
    transform: rotateY(360deg);
    background: linear-gradient(135deg, #4a90c4 0%, #2c5f8d 100%);
}

.feature-box h4 {
    font-size: 1.3rem;
    color: #2c5f8d;
    margin-bottom: 1rem;
}

.feature-box p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.team-member {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.team-icon {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #2c5f8d 0%, #4a90c4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.team-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
}

.team-icon i {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.9);
    z-index: 1;
    transition: all 0.3s ease;
}

.team-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44, 95, 141, 0.95);
    color: #fff;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.team-member:hover .team-info {
    transform: translateY(0);
}

.team-member:hover .team-icon {
    background: linear-gradient(135deg, #1e4666 0%, #2c5f8d 100%);
}

.team-member:hover .team-icon i {
    transform: scale(1.2) rotate(10deg);
    color: #fff;
}

.team-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.team-info p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services {
    background-color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #fff;
    padding: 0;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(44, 95, 141, 0.2);
    border-color: #2c5f8d;
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 1.5rem auto 1rem;
    color: #2c5f8d;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.service-icon i {
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    color: #4a90c4;
    transform: scale(1.1) rotateY(360deg);
}

.service-card:hover .service-icon i {
    transform: scale(1.1);
}

.service-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
    padding: 0 1.5rem;
}

.service-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    padding: 0 1.5rem;
}

.service-card .btn {
    margin-bottom: 2rem;
}

/* ==========================================
   PROJECTS/PORTFOLIO SECTION
   ========================================== */
.projects {
    background-color: #f9f9f9;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

/* Before/After Slider */
.slider-checkbox {
    display: none;
}

.project-slider {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.slider-before,
.slider-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.slider-before {
    background: url('images/home-remodeling-service.jpg') center/cover;
}

.slider-after {
    background: url('images/modern-home-after.jpg') center/cover;
    clip-path: inset(0 50% 0 0);
    transition: clip-path 0.3s ease;
}

.project-card:nth-child(2) .slider-before {
    background: url('images/construction-frame-before.jpg') center/cover;
}

.project-card:nth-child(2) .slider-after {
    background: url('images/office-building-after.jpg') center/cover;
}

.project-card:nth-child(3) .slider-before {
    background: url('https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?w=600&h=400&fit=crop') center/cover;
}

.project-card:nth-child(3) .slider-after {
    background: url('images/kitchen1.jpg') center/cover;
}

.project-card:nth-child(4) .slider-before {
    background: url('images/historic-home-before.jpg') center/cover;
}

.project-card:nth-child(4) .slider-after {
    background: url('images/historic-home-after.jpg') center/cover;
}

.slider-checkbox:checked ~ .project-slider .slider-after {
    clip-path: inset(0 0 0 0);
}

.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    background: #fff;
    border: 3px solid #2c5f8d;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: left 0.3s ease;
    z-index: 10;
}

.slider-handle::before,
.slider-handle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 15px;
    height: 2px;
    background: #2c5f8d;
}

.slider-handle::before {
    left: 8px;
    transform: translateY(-50%);
}

.slider-handle::after {
    right: 8px;
    transform: translateY(-50%);
}

.slider-checkbox:checked ~ .project-slider .slider-handle {
    left: calc(100% - 25px);
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.project-info p {
    color: #666;
    margin-bottom: 1rem;
}

.project-link {
    display: inline-block;
    margin: 0 1.5rem 1.5rem;
    color: #2c5f8d;
    font-weight: 600;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #4a90c4;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.lightbox:target {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 900px;
    width: 90%;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    animation: lightboxFadeIn 0.3s ease;
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 2rem;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: #fff;
    transform: rotate(90deg);
}

.lightbox-image {
    height: 400px;
    background: url('images/modern-home-after-large.jpg') center/cover;
}

#lightbox1 .lightbox-image {
    background: url('images/modern-home-after-large.jpg') center/cover;
}

#lightbox2 .lightbox-image {
    background: url('images/office-building-after-large.jpg') center/cover;
}

#lightbox3 .lightbox-image {
    background: url('images/kitchen1.jpg') center/cover;
}

#lightbox4 .lightbox-image {
    background: url('images/historic-home-after-large.jpg') center/cover;
}

.lightbox-info {
    padding: 2rem;
}

.lightbox-info h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1rem;
}

.lightbox-info p {
    color: #666;
    line-height: 1.8;
}

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */
.testimonials {
    background-color: #fff;
}

.testimonial-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    width: 100%;
}

.testimonial-carousel input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.testimonial-wrapper {
    display: flex;
    transition: transform 0.6s ease-in-out;
    width: 100%;
}

.testimonial-slide {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    box-sizing: border-box;
    padding: 0 10px;
}

.testimonial-card {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: all 0.3s ease;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

.testimonial-card:hover {
    box-shadow: 0 8px 30px rgba(44, 95, 141, 0.15);
    transform: scale(1.02);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 0 1.5rem 0;
    border: 4px solid #2c5f8d;
    object-fit: cover;
    float: left;
    margin-right: 1.5rem;
}

.stars {
    color: #ffa500;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.2rem;
    clear: both;
}

.testimonial-text {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.testimonial-author h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.3rem;
}

.testimonial-author p {
    color: #888;
    font-size: 0.95rem;
}

/* Carousel Controls */
.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.control-dot {
    width: 12px;
    height: 12px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-dot:hover {
    background: #2c5f8d;
    transform: scale(1.2);
}

.testimonial-carousel #test1:checked ~ .testimonial-wrapper {
    transform: translateX(0%);
}

.testimonial-carousel #test2:checked ~ .testimonial-wrapper {
    transform: translateX(-100%);
}

.testimonial-carousel #test3:checked ~ .testimonial-wrapper {
    transform: translateX(-200%);
}

.testimonial-carousel #test4:checked ~ .testimonial-wrapper {
    transform: translateX(-300%);
}

.testimonial-carousel #test5:checked ~ .testimonial-wrapper {
    transform: translateX(-400%);
}

.testimonial-carousel #test6:checked ~ .testimonial-wrapper {
    transform: translateX(-500%);
}

.testimonial-carousel #test1:checked ~ .testimonial-controls label:nth-child(1),
.testimonial-carousel #test2:checked ~ .testimonial-controls label:nth-child(2),
.testimonial-carousel #test3:checked ~ .testimonial-controls label:nth-child(3),
.testimonial-carousel #test4:checked ~ .testimonial-controls label:nth-child(4),
.testimonial-carousel #test5:checked ~ .testimonial-controls label:nth-child(5),
.testimonial-carousel #test6:checked ~ .testimonial-controls label:nth-child(6) {
    background: #2c5f8d;
    transform: scale(1.3);
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact {
    background-color: #f9f9f9;
}

.contact-content {
    display: block;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.location-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.location-card:hover {
    border-color: #2c5f8d;
    box-shadow: 0 6px 25px rgba(44, 95, 141, 0.15);
}

.location-title {
    font-size: 1.4rem;
    color: #2c5f8d;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.flag-icon {
    width: 32px;
    height: 24px;
    border: 1px solid #ddd;
    border-radius: 3px;
    flex-shrink: 0;
}

.location-details {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.location-icon {
    width: 40px;
    height: 40px;
    color: #2c5f8d;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.location-details p {
    margin: 0;
    line-height: 1.6;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    color: #2c5f8d;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.contact-item h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #666;
    line-height: 1.6;
}

.social-links-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-links-contact a {
    color: #2c5f8d;
    font-weight: 600;
    padding: 0.5rem 1rem;
    background: rgba(44, 95, 141, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-links-contact a:hover {
    background: #2c5f8d;
    color: #fff;
    transform: translateY(-2px);
}

.map-placeholder {
    margin-top: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.location-card .map-placeholder {
    margin-top: 1.5rem;
}

/* Contact Form */
.contact-form-wrapper {
    background: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

#form-messages {
    display: none;
    margin-bottom: 1.5rem;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5f8d;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    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 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #4a90c4;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #4a90c4;
}

.footer-section p {
    color: #ccc;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 144, 196, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #4a90c4;
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
    fill: #4a90c4;
    transition: fill 0.3s ease;
}

.social-links a:hover svg {
    fill: #fff;
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-section ul li {
    color: #ccc;
}

.footer-section ul li a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #4a90c4;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #888;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

/* Tablets and below */
@media (max-width: 968px) {
    .nav {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .section-subtitle-alt {
        font-size: 1.6rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .location-card {
        padding: 1.5rem;
    }

    .location-title {
        font-size: 1.2rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    .header {
        padding: 0;
        box-shadow: none;
        background: transparent;
        backdrop-filter: none;
    }

    .nav-wrapper {
        flex-direction: column;
    }

    .container {
        padding: 0 15px;
    }

    .logo {
        position: fixed;
        top: 0rem;
        left: 0px;
        z-index: 1001;
        background: rgba(255, 255, 255, 0.95);
        padding: 0.3rem 0.8rem;   
        width: 100%;    
    }

    .logo-img {
        height: 35px;
    }

    .logo-text {
        display: inline-block;
        font-size: 1rem;
        text-transform: uppercase;
    }

    .logo h1 {
        font-size: 1.4rem;
    }

    .nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.1);
        padding: 0.5rem 0 0.8rem;
        justify-content: space-around;
        gap: 0;
        z-index: 1000;
        overflow: visible;
    }

    .nav-link {
        font-size: 0.7rem;
        padding: 0.4rem 0.3rem 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
        overflow: visible;
    }

    .nav-link i {
        font-size: 1rem;
        line-height: 1;
        display: block;
        margin-top: 0.2rem;
        margin-bottom: 0.2rem;
    }

    .nav-link::after {
        display: none;
    }

    .btn-header {
        padding: 0.5rem 1rem;
        font-size: 0.7rem;
    }

    .hero {
        margin-top: 60px;
        min-height: 500px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-features {
        gap: 1rem;
        margin: 1.5rem 0;
    }

    .hero-feature {
        padding: 0.75rem 1rem;
        min-width: 140px;
    }

    .hero-feature i {
        font-size: 1.5rem;
    }

    .hero-feature span {
        font-size: 0.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-locations {
        font-size: 0.95rem;
        margin-top: 1.5rem;
    }

    .logo-img {
        height: 35px;
    }

    .logo-text {
        font-size: 1rem;
    }

    .logo a {
        gap: 0.5rem;
    }

    .btn {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }

    section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .about-intro {
        font-size: 1rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem 1rem;
    }

    .stat-item h3 {
        font-size: 2.2rem;
    }

    .section-subtitle-alt {
        font-size: 1.4rem;
    }

    .about-values {
        flex-direction: column;
        gap: 1.5rem;
    }

    .why-title {
        font-size: 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-box {
        padding: 1.5rem 1rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-slider {
        height: 250px;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }

    .lightbox-content {
        width: 95%;
    }

    .lightbox-image {
        height: 250px;
    }

    .lightbox-info {
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .value-item h3 {
        font-size: 2rem;
    }

    .service-title {
        font-size: 1.3rem;
    }

    .testimonial-card {
        padding: 1.5rem 1rem;
    }

    .stars {
        font-size: 1.2rem;
    }
}

/* ==========================================
   ACCESSIBILITY & PRINT STYLES
   ========================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #2c5f8d;
    outline-offset: 2px;
}

/* ==========================================
   WHATSAPP FLOATING BUTTON
   ========================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.4);
}

.whatsapp-float i {
    margin-top: 4px;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 26px;
        bottom: 20px;
        right: 20px;
    }
}

