﻿/* CSS Variables */
:root {
    --primary-color: #1a5276;
    --secondary-color: #2e86c1;
    --accent-color: #f39c12;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #333;
    --border-radius: 6px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(26, 82, 118, 0.3);
    position: relative;
    overflow: hidden;
}

    .btn:before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: var(--transition);
    }

    .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(26, 82, 118, 0.4);
    }

        .btn:hover:before {
            left: 100%;
        }

.section {
    padding: 90px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

    .section-title h2 {
        font-size: 2.5rem;
        color: var(--primary-color);
        margin-bottom: 15px;
    }

    .section-title:after {
        content: '';
        display: block;
        width: 80px;
        height: 4px;
        background: var(--gradient);
        margin: 15px auto;
        border-radius: 2px;
    }

/* Enhanced Header Styles */
header {
    background-color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

    .logo h1 {
        font-size: 1.8rem;
        background: var(--gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-left: 10px;
        font-weight: 700;
    }

/* FIXED Navigation Styles */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
    margin: 0 10px;
}

.nav-link {
    font-weight: 600;
    padding: 10px 15px;
    transition: var(--transition);
    color: var(--dark-color);
    border-radius: var(--border-radius);
    position: relative;
    display: block;
    white-space: nowrap;
}

    .nav-link:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 3px;
        background: var(--gradient);
        transition: var(--transition);
        transform: translateX(-50%);
        border-radius: 3px;
    }

    .nav-link:hover, .nav-link.active {
        color: var(--primary-color);
    }

        .nav-link:hover:after, .nav-link.active:after {
            width: 80%;
        }

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 220px;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    padding: 10px 0;
    border-top: 3px solid var(--accent-color);
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: var(--transition);
    font-weight: 500;
    color: var(--dark-color);
    text-decoration: none;
}

    .dropdown-item:hover {
        background-color: #f8f9fa;
        color: var(--primary-color);
        padding-left: 25px;
    }

    .dropdown-item i {
        margin-right: 8px;
        width: 20px;
        text-align: center;
    }

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
    background: none;
    border: none;
    padding: 5px;
    z-index: 1001;
}

/* Enhanced Hero Section */
.hero {
    background: linear-gradient(rgba(26, 82, 118, 0.85), rgba(46, 134, 193, 0.85)), url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 160px 0;
    position: relative;
    overflow: hidden;
}

    .hero h2 {
        font-size: 3rem;
        margin-bottom: 20px;
        font-weight: 700;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .hero p {
        font-size: 1.3rem;
        max-width: 700px;
        margin: 0 auto 40px;
        text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    }

/* Enhanced Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 35px 25px;
    transition: var(--transition);
    text-align: center;
    border-top: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

    .service-card:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 0;
        background: var(--gradient);
        opacity: 0.05;
        transition: var(--transition);
    }

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    }

        .service-card:hover:before {
            height: 100%;
        }

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--secondary-color);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Enhanced About Preview */
.about-preview {
    background-color: #f8f9fa;
    position: relative;
}

    .about-preview:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231a5276' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    }

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text h2 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 2.2rem;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    position: relative;
}

    .about-image:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--gradient);
        opacity: 0.1;
        z-index: 1;
    }

    .about-image img {
        transition: var(--transition);
    }

    .about-image:hover img {
        transform: scale(1.05);
    }

/* Enhanced Why Us Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature {
    text-align: center;
    padding: 40px 25px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

    .feature:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: var(--gradient);
    }

    .feature:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

    .feature i {
        font-size: 2.8rem;
        color: var(--primary-color);
        margin-bottom: 20px;
        transition: var(--transition);
    }

    .feature:hover i {
        transform: scale(1.1);
        color: var(--secondary-color);
    }

    .feature h3 {
        margin-bottom: 15px;
        color: var(--primary-color);
    }

/* Enhanced Footer */
.footer-top {
    background: var(--dark-color);
    color: white;
    padding: 70px 0 40px;
    position: relative;
}

    .footer-top:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: var(--gradient);
    }

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-column h3 {
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    font-size: 1.3rem;
}

    .footer-column h3:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 50px;
        height: 3px;
        background: var(--accent-color);
        border-radius: 2px;
    }

.footer-column ul li {
    margin-bottom: 12px;
    transition: var(--transition);
}

    .footer-column ul li:hover {
        transform: translateX(5px);
    }

    .footer-column ul li a:hover {
        color: var(--accent-color);
    }

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

    .social-links a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        transition: var(--transition);
    }

        .social-links a:hover {
            background-color: var(--accent-color);
            transform: translateY(-3px);
        }

.footer-bottom {
    background-color: #1a1a1a;
    color: #aaa;
    text-align: center;
    padding: 25px 0;
    font-size: 0.9rem;
}

/* Enhanced WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 65px;
    height: 65px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float:hover {
    transform: scale(1.1);
    animation: none;
}

/* FIXED Responsive Styles */
@media (max-width: 992px) {
    .about-content, .about-founder, .mission-vision {
        grid-template-columns: 1fr;
    }

    .founder-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        flex-direction: column;
        background-color: white;
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--box-shadow);
        z-index: 999;
        padding: 80px 20px 20px;
        overflow-y: auto;
        justify-content: flex-start;
    }

        .nav-menu.active {
            left: 0;
        }

    .nav-item {
        margin: 0;
        border-bottom: 1px solid #eee;
        width: 100%;
        text-align: left;
    }

    .nav-link {
        display: block;
        padding: 15px;
        width: 100%;
        text-align: left;
    }

        .nav-link:after {
            display: none;
        }

    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        background-color: #f8f9fa;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 0;
        margin-top: 0;
        border-top: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-item {
        padding: 12px 15px 12px 30px;
        border-bottom: 1px solid #e9ecef;
    }

    .hero {
        padding: 120px 0;
        background-attachment: scroll;
    }

        .hero h2 {
            font-size: 2rem;
        }

        .hero p {
            font-size: 1.1rem;
        }

    .section {
        padding: 70px 0;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 60px 0;
    }

    .hero {
        padding: 100px 0;
    }

    .services-grid, .features {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .nav-menu {
        padding: 70px 15px 15px;
    }
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}
