/* Reset and General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    scroll-behavior: smooth;
}

h1, h2, h3 {
    font-family: 'Orbitron', sans-serif;
}

.section {
    padding: 80px 20px;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #fff;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.navbar.scrolled {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #00bfff;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    height: 3px;
    width: 25px;
    background: #333;
    margin: 4px 0;
    transition: 0.3s;
}

/* Overview Section */
.overview-section {
    padding: 40px 20px;
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
}

.overview-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
}

.overview-logo {
    flex: 1;
    text-align: center;
}

.company-logo {
    max-width: 200px;
    height: auto;
}

.overview-text {
    flex: 2;
    text-align: left;
}

.overview-text h2 {
    font-size: 2.5em;
    background: linear-gradient(45deg, #00bfff, #1e90ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.overview-text p {
    font-size: 1.2em;
    margin: 20px 0;
}

/* Hero Section with Single Background */
.hero {
    height: 60vh; /* smaller height */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7); /* stronger shadow for readability */
    background-image: url('images/wbg.jpg');
    background-size: cover;
    background-position: center;
    filter: none; /* remove brightness filter */
}

.hero-content {
    z-index: 1;
    text-align: center;
    padding: 0 15px; /* helps on small screens */
}

.hero-content h1 {
    font-size: 3em; /* slightly smaller to match reduced height */
    background: linear-gradient(45deg, #00bfff, #1e90ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 2s ease-in-out infinite alternate;
}


/* @keyframes glow {
    from {
        text-shadow: 0 0 10px #00bfff, 0 0 20px #00bfff;
    }
    to {
        text-shadow: 0 0 20px #1e90ff, 0 0 30px #1e90ff;
    }
} */

.hero-content p {
    font-size: 1.5em;
    margin: 20px 0;
}

.cta-button {
    background: linear-gradient(45deg, #00bfff, #1e90ff);
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px #00bfff;
}

/* About Values */
.about-values {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.value-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 300px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.service-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Contact Form */
#contact-form {
    max-width: 600px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#contact-form input, #contact-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

#contact-form button {
    background: linear-gradient(45deg, #00bfff, #1e90ff);
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s;
}

#contact-form button:hover {
    transform: scale(1.05);
}

/* Footer */
footer {
    background: #1e3c72;
    color: #fff;
    padding: 40px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.footer-logo {
    text-align: center;
}

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

.footer-logo p {
    margin-top: 10px;
    font-weight: bold;
}

.footer-links h3, .footer-contact h3, .footer-social h3 {
    font-size: 1.2em;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #00bfff;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact a {
    color: #fff;
    text-decoration: none;
}

.footer-contact a:hover {
    color: #00bfff;
}

.social-links a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #00bfff;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }

    .overview-container {
        flex-direction: column;
        text-align: center;
    }

    .overview-text {
        text-align: center;
    }

    .about-values {
        flex-direction: column;
    }

   /* Android Device Media Query - Comprehensive Scaling */
@media only screen and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: 0.001dpcm) {
    /* Base scaling */
    body {
        font-size: 14px;
    }
    
    /* Navbar adjustments */
    .navbar {
        padding: 10px 15px;
    }
    
    .logo {
        font-size: 1.2em;
    }
    
    /* Hero section scaling */
    .hero {
        height: 30vh;
    }
    
    .hero-content h1 {
        font-size: 2em;
        margin-bottom: 10px;
    }
    
    .hero-content p {
        font-size: 1.1em;
        margin: 10px 0;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 0.9em;
    }
    
    /* Section adjustments */
    .section {
        padding: 50px 15px;
    }
    
    h2 {
        font-size: 1.8em;
    }
    
    h3 {
        font-size: 1.4em;
    }
    
    /* Overview section */
    .overview-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .overview-text h2 {
        font-size: 1.8em;
    }
    
    .overview-text p {
        font-size: 1em;
    }
    
    /* Cards and grids */
    .value-card, .service-card {
        width: 100%;
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Contact form */
    #contact-form {
        width: 90%;
    }
    
    #contact-form input, 
    #contact-form textarea {
        padding: 12px;
        font-size: 0.9em;
    }
    
    /* Footer adjustments */
    footer {
        padding: 30px 15px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Navigation adjustments */
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 60px);
        background: #fff;
        flex-direction: column;
        transition: left 0.3s ease;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
        text-align: center;
    }
    
    /* Animation adjustments */
    .animate-on-scroll {
        transform: translateY(30px);
    }
}
}