:root {
    --primary: rgb(9, 119, 187);
    --secondary: #1d3557;
    --dark: #212529;
    --light: #f8f9fa;
    --gray: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Times New Roman', Times, serif;
}

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

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

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 0;
    width: 105%;
}

.logo {
    display: flex;
    align-items: center;
    margin-left: -50px;
}

.logo img {
    height: 100px;
    width: 100px;
    margin-right: 5px;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 15px;
    
}

.nav-links li a {
    position: relative;
    padding: 8px 0;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Dotted underline animation on hover */
.nav-links li a:hover {
    color: var(--primary);
}

.nav-links li a:hover::after {
    content: ''; /* Dots as underline */
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    color: var(--primary);
    overflow: hidden;
    border-bottom: 7px dotted var(--primary);
    animation: dotUnderline 0.5s steps(10, end) forwards;
}

@keyframes dotUnderline {
    from { width: 0; }
    to { width: 100%; }
}

/* CTA Button (No dot/underline) */
.nav-links li .cta-button::before,
.nav-links li .cta-button::after {
    display: none;
}

/* Icon styling */
.nav-links i {
    color: var(--primary);
    margin-right: 5px;
}

.cta-button {
    background-color: var(--primary);
    color: white !important;
    padding: 12px 20px !important;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-button:hover {
    background-color: #1d3557;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px #384354;
}

.cta-button i {
    color: white;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Submenu Styles - Updated for better responsiveness */
.has-submenu {
    position: relative;
}

.has-submenu > a .dropdown-icon {
    margin-left: 5px;
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 250px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 5px;
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.has-submenu:hover > a .dropdown-icon {
    transform: rotate(180deg);
}

.submenu li {
    padding: 0;
}

.submenu li a {
    padding: 8px 20px;
    color: #333;
    display: block;
    transition: all 0.2s;
}

.submenu li a:hover {
    background: rgba(9, 119, 187, 0.1);
    color: var(--primary);
    padding-left: 25px;
}

.submenu li i {
    width: 20px;
    text-align: center;
    margin-right: 8px;
}

/* Mobile Submenu Styles - Updated for better touch experience */
@media (max-width: 992px) {
    .has-submenu > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .has-submenu > a .dropdown-icon {
        transition: transform 0.3s ease;
    }
    
    .submenu {
        position: static;
        width: 100%;
        box-shadow: none;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: rgba(9, 119, 187, 0.05);
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 0;
    }
    
    .submenu.active {
        max-height: 500px;
        padding: 10px 0;
    }
    
    .submenu li a {
        padding-left: 40px;
        padding-right: 20px;
    }
    
    .has-submenu.active > a .dropdown-icon {
        transform: rotate(180deg);
    }
}

/* Mobile menu toggle */
@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        transition: all 0.5s ease;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        z-index: 999;
        overflow-y: auto;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li a {
        width: 100%;
        display: block;
        padding: 12px 0;
    }
    
    .hamburger {
        display: block;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

#heroVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(120, 120, 120, 0.653);
    z-index: -1;
}

.hero .container {
    width: 100%;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 45px;
    color: rgb(5, 5, 144);
    text-shadow: 0 5px 10px white;
    animation: fadeInUp 1s ease;


    /* background: rgba(120, 120, 120, 0.653);      
    padding: 0px 5px;      
    border-radius: 10px;      
    display: inline-block;    
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);  */
}


.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: white;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.search-bar {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-radius: 50px;
    overflow: hidden;
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

.search-bar input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    outline: none;
    font-size: 1rem;
}

.search-bar button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0 25px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-bar button:hover {
    background-color: #1d3557;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-down a {
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 70px;
}

.about-image {
    flex: 1;
    overflow: hidden;
}

.about-image img {
    width: 75%;
    height: 60%;
    display: block;
    transition: transform 0.5s;
    border-radius: 500px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-image:hover img {
    transform: scale(1.05);
    color: var(--primary);
}

.about-text {
    flex: 1;
}

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

.about-text p {
    margin-bottom: 15px;
    color: var(--gray);
}

.about-features {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* Categories Section */
.categories {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h3 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary);
}

.section-title p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.category-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    text-align: center;
    padding: 10px 10px;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.tech-logo {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-logo img {
    max-width: 120%;
    max-height: 120%;
    object-fit: contain;
}

.category-info h4 {
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 1.3rem;
}

.category-info p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 0;
}



/* Stats Section */
.stats {
    padding: 80px 0;
    background-color: rgb(71, 71, 71);
    color: white;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.stat-card {
    padding: 30px 20px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 10px;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255,255,255,0.2);
}

.stat-card i {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: rgb(225, 174, 43);
}

.stat-card .counter {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.stat-card h4 {
    font-size: 1.2rem;
    font-weight: 400;
}

/* How It Works */
.how-it-works {
    padding: 50px 0;
    background-color: white;
}

.steps {
    display: flex;
    justify-content: space-around;  
    align-items: center;
    margin-top: 50px;
    flex-wrap: nowrap; 
    gap: 30px;
    overflow-x: auto;   
    padding-bottom: 10px;
}

.step {
    flex: 0 0 250px;    /* fixed width */
    height: 250px;      /* equal height (circle) */
    display: flex;
    flex-direction: column; /* step-number, title, desc vertical align */
    align-items: center;
    justify-content: center;
    text-align: center;

    border-radius: 50%;   /* circle shape */
    background: #fff;
    box-shadow: 0 5px 10px rgb(107, 107, 142);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    padding: 20px;
    box-sizing: border-box;
}

.step-number {
    background-color: var(--primary);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 1.5rem;
    transition: all 0.3s;
}

.step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 5px 15px #1d3557;
    background-color: #fff;
    color: var(--primary);
}

.step h4 {
    margin-bottom: 10px;
    color: var(--secondary);
    font-size: 1.2rem;
}

.step p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.3;
    padding: 0 10px;
}

/* Responsive - mobile screens */
@media (max-width: 768px) {
    .steps {
        justify-content: flex-start;
    }

    .step {
        flex: 0 0 220px;  /* small circle size */
        height: 220px;
    }
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: rgba(225, 29, 72, 0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--primary);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--gray);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--primary);
}

.author-info h4 {
    color: var(--secondary);
    margin-bottom: 5px;
}

.author-info p {
    color: var(--gray);
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, #c1121f 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/pattern.png');
    opacity: 0.1;
    z-index: 0;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.white-button {
    background-color: white;
    color: var(--primary);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.white-button:hover {
    background-color: #f0f4ff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.outline-button {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.outline-button:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Tech Buttons in CTA Section */
.tech-buttons {
    margin: 30px auto;
    text-align: center;
    max-width: 800px;
}

.tech-buttons h4 {
    color: rgba(255,255,255,0.9);
    margin-bottom: 15px;
    font-weight: 400;
    font-size: 1.1rem;
}

.tech-button-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.tech-button {
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.tech-button i {
    font-size: 1.2rem;
}

.tech-button.python {
    background-color: #3776AB;
    color: white;
}

.tech-button.python:hover {
    background-color: #2d5f8a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(55, 118, 171, 0.4);
}

.tech-button.springboot {
    background-color: #6DB33F;
    color: white;
}

.tech-button.springboot:hover {
    background-color: #5a9a36;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(109, 179, 63, 0.4);
}

.tech-button.java {
    background-color: #007396;
    color: white;
}

.tech-button.java:hover {
    background-color: #005b7a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 115, 150, 0.4);
}

.tech-button.dotnet {
    background-color: #512BD4;
    color: white;
}

.tech-button.dotnet:hover {
    background-color: #3f23b0;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(81, 43, 212, 0.4);
}

.tech-button.javascript {
    background-color: #F7DF1E;
    color: #323330;
}

.tech-button.javascript:hover {
    background-color: #e6ce1a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(247, 223, 30, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tech-button-group {
        gap: 10px;
    }
    
    .tech-button {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .tech-button-group {
        flex-direction: column;
        align-items: center;
    }
    
    .tech-button {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    z-index: 100;
    transition: all 0.3s;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 80px 0 20px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary);
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

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

.social-links a {
    color: white;
    background-color: #495057;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #495057;
    color: #adb5bd;
    font-size: 0.9rem;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

@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);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero {
        height: 50vh;
    }

    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        margin-bottom: 30px;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 100px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 10px 0;
        transition: all 0.5s ease;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links li a {
        width: 100%;
        display: block;
        padding: 10px 20px;
    }

    .hamburger {
        display: block;
        z-index: 1000;
    }

    .nav-links li a::after {
        display: none;
    }

    .nav-links li .cta-button {
        margin: 10px auto;
        width: 80%;
        text-align: center;
    }

    .has-submenu > a {
        position: relative;
    }
    
    .nav-links .has-submenu.active > a {
        color: var(--primary);
        font-weight: 600;
    }

    .hero {
        /* margin-top: 100px; */
        height: 40vh;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }

    .about-image img {
        width: 200;
        height: 200%;
        margin-left: 30px;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step {
        margin-bottom: 40px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .white-button, .outline-button {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 50vh;
    }
    
    .hero h1 {
        margin-top: 140px;
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.80rem;
    }
    
    .search-bar {
        flex-direction: column;
        border-radius: 10px;
    }
    
    .search-bar input {
        padding: 12px 15px;
    }
    
    .search-bar button {
        padding: 12px;
        justify-content: center;
    }

    .about-image img {
        width: 200;
        height: 200%;
        margin-left: 30px;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

