/* Global Styles */
:root {
    --primary-color: #004a99; /* Slightly deeper blue */
    --secondary-color: #0099cc; /* Brighter secondary */
    --accent-color: #fca311; /* Warm accent for subtle highlights */
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --white: #ffffff;
    --text-color: #444;
    --font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    --hover-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

/* Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header */
header {
    background-color: #f0f8ff; /* Light AliceBlue */
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid #e1eef7;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    color: var(--dark-color);
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

/* Active and Hover States for Nav */
.nav-links a.active {
    background-color: rgba(0, 153, 204, 0.1);
    color: var(--primary-color);
}

.nav-links a:hover {
    color: var(--primary-color);
    background-color: rgba(0, 153, 204, 0.05);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(0, 74, 153, 0.95) 0%, rgba(0, 153, 204, 0.85) 100%), url('../img/hero-bg.jpg') no-repeat center center/cover;
    color: var(--white);
    height: 60vh; /* Slightly adjusted height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero p {
    font-size: 1.3rem;
    max-width: 750px;
    margin-bottom: 35px;
    font-weight: 300;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.6);
    color: var(--white);
}

/* Sections */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-title p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* About Home */
.about-home {
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
}

.about-img img {
    border-radius: 10px;
    box-shadow: var(--hover-shadow);
    transition: transform 0.4s ease;
}

.about-img:hover img {
    transform: scale(1.02);
}

/* Services (General Grid - for Home Page) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease; /* Removed bouncy effect for smoother feel */
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
    border-bottom: 3px solid var(--secondary-color);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
}

.service-card h3 i {
    margin-right: 12px;
    color: var(--secondary-color);
    background: rgba(0, 168, 232, 0.1);
    padding: 10px;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.service-card:hover h3 i {
    background: var(--secondary-color);
    color: var(--white);
}

/* Why Choose Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-item {
    background: var(--white);
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s;
    border: 1px solid #eee;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 86, 179, 0.1);
    box-shadow: var(--hover-shadow);
}

.feature-item h4 {
    color: var(--dark-color);
    margin: 15px 0;
    font-size: 1.2rem;
}

.feature-item i {
    color: var(--primary-color) !important;
    background: #e6f0ff;
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    margin-bottom: 10px;
    display: inline-block;
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    background: var(--white);
    padding: 20px;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
}

.contact-info-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 40px;
    border-radius: 12px;
}

.contact-info-item {
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
}

.contact-info-item h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 700;
}

.contact-info-item i {
    background: rgba(255,255,255,0.2);
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    margin-right: 15px;
    margin-top: -5px;
}

.contact-info-item div {
    flex: 1;
}

.contact-info-item p {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
}

/* Footer */
footer {
    background-color: #111;
    color: #bbb;
    text-align: center;
    padding: 40px 0;
    margin-top: auto;
    border-top: 5px solid var(--secondary-color);
}

.footer-content p {
    font-size: 0.95rem;
    margin-bottom: 10px;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.whatsapp-float:hover {
    color: #FFF;
    background-color: #20b85c;
    transform: scale(1.1) rotate(15deg); /* Added rotation */
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

.my-float {
    margin-top: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
    }
    
    .nav-links {
        margin-top: 20px;
        flex-direction: column;
        text-align: center;
        width: 100%;
    }

    .nav-links li {
        margin: 10px 0;
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        width: 100%;
    }

    .about-grid, .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero {
        height: auto;
        padding: 100px 20px;
    }
}
