/* css/styles.css */
:root {
    --cool-blue: #1e8bc3;
    --heat-orange: #ff5a2c;
    --dark: #222222;
    --light-bg: #f5f7fa;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--cool-blue), var(--heat-orange));
    --footer-link: #cccccc;
    --footer-link-hover: #ffffff;
    --card-shadow: 0 15px 30px -10px rgba(0,0,0,0.2);
    --card-hover-shadow: 0 25px 50px -12px rgba(0,0,0,0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif;
    background: var(--light-bg);
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* header */
.site-header {
    background: var(--white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

/* Logo image placeholder */
.logo-placeholder {
    width: 180px;
    height: 50px;
    background: linear-gradient(145deg, #c0c0c0, #e0e0e0);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.logo-placeholder::after {
    content: "LOGO";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    font-weight: bold;
    color: #555;
    letter-spacing: 1px;
}

.logo {
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.main-nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.2s;
    padding-bottom: 5px;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--cool-blue);
    border-bottom: 2px solid var(--heat-orange);
}

.hamburger {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section with Video Background */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 139, 195, 0.8), rgba(255, 90, 44, 0.8));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--cool-blue);
    color: white;
}

.btn-primary:hover {
    background: #1476a8;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: var(--heat-orange);
    color: white;
}

.btn-secondary:hover {
    background: #e0441c;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Services Grid - Cards with background images and overlay */
.services-grid-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: var(--dark);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient);
    margin: 15px auto 0;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.service-card {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    min-height: 380px; /* Ensures consistent height for all cards */
    display: flex;
    align-items: flex-end; /* Content aligned to bottom */
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--card-hover-shadow);
}

/* Dark overlay for better text readability */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
    transition: opacity 0.3s ease;
}

.service-card:hover .card-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0.3) 100%);
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 30px 25px 25px;
    color: white;
    width: 100%;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.service-card:hover .card-content {
    transform: translateY(-5px);
}

.card-content h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.card-content p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.learn-more {
    color: white;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
    font-size: 1.1rem;
    padding: 8px 0;
    border-bottom: 2px solid var(--heat-orange);
}

.learn-more:hover {
    gap: 12px;
    color: var(--heat-orange);
    border-bottom-color: white;
}

/* why choose */
.why-choose {
    background: var(--white);
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature {
    text-align: center;
    padding: 25px 15px;
    background: var(--light-bg);
    border-radius: 16px;
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
}

.icon-placeholder {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* cta section */
.cta-section {
    background: var(--gradient);
    color: white;
    text-align: center;
    padding: 60px 0;
}

.phone-large {
    font-size: 2rem;
    font-weight: 700;
    margin: 20px 0;
}

/* testimonials */
.testimonials {
    padding: 60px 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.testimonial-card {
    background: white;
    padding: 30px 25px;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 15px;
    color: #555;
}

.testimonial-card span {
    font-weight: 600;
    color: var(--cool-blue);
}

/* footer */
.site-footer {
    background: var(--dark);
    color: #ccc;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-info h4,
.footer-links h4,
.footer-services h4,
.footer-social h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-info p {
    margin-bottom: 8px;
}

/* Footer links styling - no underline, light grey color */
.footer-links ul,
.footer-services ul {
    list-style: none;
}

.footer-links li,
.footer-services li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-services a {
    text-decoration: none;
    color: var(--footer-link);
    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--footer-link-hover);
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid #444;
    padding-top: 20px;
}

.social-placeholders {
    display: flex;
    gap: 15px;
}

.social-icon {
    background: #444;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    transition: all 0.3s;
    cursor: default;
}

.social-icon:hover {
    background: var(--cool-blue);
    color: white;
}

/* responsive */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid,
    .features-grid,
    .testimonial-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hamburger {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero {
        min-height: 500px;
    }
    
    .service-card {
        min-height: 350px;
    }
}

@media (max-width: 576px) {
    .services-grid,
    .features-grid,
    .testimonial-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-card {
        min-height: 320px;
    }
    
    .card-content h3 {
        font-size: 1.4rem;
    }
}

/* animations base */
.fade-in,
.slide-in-left,
.slide-in-right,
.fade-in-up {
    opacity: 0;
    transition: all 0.8s ease;
}

.slide-in-left {
    transform: translateX(-50px);
}

.slide-in-right {
    transform: translateX(50px);
}

.fade-in-up {
    transform: translateY(40px);
}

.show {
    opacity: 1;
    transform: translate(0, 0);
}