:root {
    --primary-color: #4dc3ff; /* Light Blue as requested */
    --primary-dark: #0099cc;
    --secondary-color: #2c3e50;
    --text-color: #333;
    --light-bg: #f9fcff;
    --white: #ffffff;
    --gray: #e0e0e0;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1rem; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding { padding: 80px 0; }
.bg-light { background-color: var(--light-bg); }
.text-center { text-align: center; }

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-block {
    display: block;
    width: 100%;
}

.divider {
    height: 4px;
    width: 60px;
    background-color: var(--primary-color);
    margin: 10px auto 30px;
    border-radius: 2px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-link:hover { color: var(--primary-color); }

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 10px;
    transition: var(--transition);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Navbar Overlay */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(3px);
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background: url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?auto=format&fit=crop&q=80&w=1080') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    margin-top: 0;
}

.hero-bg-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(77, 195, 255, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    animation: fadeInUp 1s ease;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-btn .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.hero-btn .btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-dark);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.about-text h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.mission-vision-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mvv-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.mvv-card:hover {
    transform: translateY(-10px);
}

.mvv-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.mvv-card ul {
    text-align: left;
    margin-top: 15px;
    list-style-type: disc;
    padding-left: 20px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-card:hover .icon-box {
    background-color: var(--primary-color);
    color: var(--white);
    transform: rotateY(360deg);
}

.service-card:hover .icon-box i {
    color: var(--white);
}

.icon-box {
    width: 70px;
    height: 70px;
    background-color: rgba(77, 195, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition);
}

.icon-box i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.service-card h3 { font-size: 1.4rem; }

.service-card ul {
    margin-top: 15px;
    list-style: none;
}

.service-card ul li {
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #666;
}

.service-card ul li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* Why Us */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.advantage-item {
    padding: 30px;
    border-left: 4px solid var(--primary-color);
    background: #fff;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.advantage-item:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Testimonials / Market */
.market-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.tag {
    padding: 10px 20px;
    background-color: var(--white);
    border: 1px solid #eee;
    border-radius: 50px;
    font-weight: 500;
    color: var(--secondary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: var(--white);
    padding: 20px;
    border-radius: 20px;
    overflow: hidden;
}

.contact-info {
    padding: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 20px;
}

.contact-info h2 { color: var(--white); }

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.info-item i {
    margin-right: 15px;
    font-size: 1.2rem;
}

.social-links {
    margin-top: 40px;
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--white);
    color: var(--primary-color);
}

.contact-form-container {
    padding: 40px;
}

.form-group { margin-bottom: 20px; }

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
    background-color: #f8f8f8;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    background-color: var(--white);
}

/* Portfolio & Blog Hover Effects */
.portfolio-item, .blog-card {
    transition: var(--transition);
}

.portfolio-item:hover, .blog-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15) !important;
}

.portfolio-item img, .blog-card img {
    transition: transform 0.5s ease;
}

.portfolio-item:hover img, .blog-card:hover img {
    transform: scale(1.05);
}

/* Footer - FIXED VERSION */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo { 
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.footer-logo a {
    display: inline-block;
    margin-bottom: 10px;
    max-width: 100%;
}

.footer-logo img {
    max-height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.footer-logo p {
    max-width: 300px;
    margin: 0 auto;
}

.footer-links ul {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

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

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    color: #aaa;
    width: 100%;
    text-align: center;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== MOBILE RESPONSIVE STYLES ========== */

/* Tablet and Desktop (960px and below) */
@media screen and (max-width: 960px) {
    .container { padding: 0 30px; }
    
    h1 { font-size: 2.2rem; }
    h2 { font-size: 2rem; }
    
    .about-grid, .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .about-image { margin-bottom: 30px; }
}

/* Mobile Navigation - Main Breakpoint (768px and below) */
@media screen and (max-width: 768px) {
    /* Show hamburger menu */
    .menu-toggle {
        display: flex !important;
    }
    
    /* Hide desktop menu by default */
    .nav-menu {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        height: calc(100vh - 70px);
        justify-content: flex-start;
        align-items: center;
        padding: 40px 20px;
        transition: 0.3s ease-in-out;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        gap: 20px;
        overflow-y: auto;
        z-index: 1000;
    }
    
    /* Show menu when active */
    .nav-menu.active {
        right: 0;
    }
    
    /* Menu items styling */
    .nav-menu li {
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateY(20px);
        transition: 0.3s ease;
        margin: 10px 0;
    }
    
    /* Animate items when menu opens */
    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Stagger animation for menu items */
    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.4s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.5s; }
    
    /* Nav links styling */
    .nav-link {
        font-size: 1.2rem;
        display: block;
        padding: 12px;
        color: var(--secondary-color);
        font-weight: 500;
        width: 100%;
    }
    
    .nav-link:hover {
        background-color: rgba(77, 195, 255, 0.1);
        border-radius: 8px;
    }
    
    /* Remove underline effect on mobile */
    .nav-link::after {
        display: none;
    }
    
    /* Contact button in mobile menu */
    .nav-btn {
        width: 80%;
        margin: 20px auto 0;
        text-align: center;
        padding: 15px 30px;
        font-size: 1.1rem;
        display: inline-block;
    }
    
    /* Adjust logo size for mobile */
    .logo img {
        max-height: 40px;
    }
    
    /* Adjust navbar padding for mobile */
    .navbar {
        padding: 10px 0;
    }
    
    /* Hero section adjustments */
    .hero-content {
        text-align: center;
        padding: 0 20px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-btns {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* Services grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Mission/Vision/Values */
    .mission-vision-values {
        grid-template-columns: 1fr;
    }
    
    /* Contact section adjustments */
    .contact-wrapper {
        padding: 10px;
        gap: 0;
    }
    
    .contact-info {
        padding: 30px 20px;
        border-radius: 15px 15px 0 0;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
    
    /* Footer Mobile Styles - FIXED */
    .footer-logo img {
        max-height: 50px;
        max-width: 200px;
    }
    
    .footer-links ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-links ul li {
        margin: 0;
    }
    
    .footer-logo p {
        font-size: 0.9rem;
        max-width: 250px;
    }
}

/* Small phones (480px and below) */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-menu {
        top: 60px;
        height: calc(100vh - 60px);
        padding: 20px 15px;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 10px;
    }
    
    .nav-btn {
        width: 90%;
        padding: 12px 20px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-btn .btn {
        width: 100%;
        text-align: center;
    }
    
    .service-card, .mvv-card, .advantage-item {
        padding: 25px 15px;
    }
    
    .contact-info, .contact-form-container {
        padding: 25px 15px;
    }
    
    .info-item {
        font-size: 0.95rem;
    }
    
    /* Footer Small Mobile Styles - FIXED */
    .footer-logo img {
        max-height: 40px;
        max-width: 150px;
    }
    
    .footer-links ul {
        gap: 10px;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
    
    .copyright {
        font-size: 0.8rem;
        padding: 15px 10px 0;
    }
}

/* Landscape mode on mobile */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .nav-menu {
        padding: 15px 20px;
    }
    
    .nav-menu li {
        margin: 5px 0;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 8px;
    }
    
    .nav-btn {
        width: 60%;
        padding: 10px 20px;
        margin: 10px auto 0;
    }
}

/* Ensure content doesn't hide under fixed navbar */
section {
    scroll-margin-top: 70px;
}

@media screen and (max-width: 768px) {
    section {
        scroll-margin-top: 60px;
    }
}