/* ================ Base Styles ================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --primary-color: #0066cc;
    --text-dark: #2c3e50;
    --text-light: #f8f9fa;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}
/* Custom navbar toggler */
.navbar-toggler {
    border: 0 !important;
    padding: 0.5rem;
    transition: var(--transition);
    position: relative; /* Add this */
}

/* Remove default Bootstrap icon */
.navbar-toggler-icon {
    background-image: none !important;
    position: relative;
    width: 24px;
    height: 24px;
    transition: var(--transition);
}

/* Create hamburger lines */
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

.navbar-toggler-icon::before {
    top: 6px;
}

.navbar-toggler-icon::after {
    top: 16px;
}

/* Transform to X when expanded */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 11px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    top: 11px;
}

/* Remove focus outline */
.navbar-toggler:focus {
    box-shadow: none !important;
}

/* Mobile menu adjustments */
@media (max-width: 991px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border-radius: 8px;
        margin: 0 15px;
    }

    .navbar-nav {
        gap: 0.5rem;
    }

    .nav-link {
        padding: 0.75rem 1rem !important;
        border-radius: 6px;
        transition: var(--transition);
        text-align: left;
    }

    .nav-link:hover {
        background: rgba(0,102,204,0.05);
    }

    .navbar-toggler {
        order: 2;
        margin-left: auto;
    }
}
    /* Button Hover Effects */
    .btn-hover-effect {
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
    .btn-hover-effect:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        }
        .btn-cta{
            border: 1px solid #252526;
            background-color: #004a99;
        }
    .btn-hover-effect::after {
            content: '';
            display: block;
            position: absolute;
            background: rgba(255,255,255,0.2);
            width: 30px;
            height: 100%;
            left: -50px;
            top: 0;
            transform: skewX(-15deg);
            transition: all 0.4s ease;
        }
        
    .btn-hover-effect:hover::after {
            left: 120%;
        }


@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
        /* Preloader */
  /* ================ Preloader ================ */
  #preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ================ Navigation ================ */
.navbar {
    position: absolute;
    width: 100%;
    background: transparent !important;
    transition: var(--transition);
    z-index: 1000;
}

.navbar-scrolled {
    background: rgba(255,255,255,0.95) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
    font-family: 'assassin', sans-serif;
    font-size: 1.8rem;
    color: var(--text-dark) !important;
    letter-spacing: 1px;
}
        /* Preloader */
  /* ================ Preloader ================ */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ================ Hero Section ================ */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

#myVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

/* ================ About Founder ================ */
.service-card {
    background: white;
    border-radius: 15px;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: .8s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    
}
/* Who We Are Section */
.who-we-are li {
    padding: 1rem;
    background: rgba(0,102,204,0.05);
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.who-we-are li:hover {
    transform: translateX(10px);
    background: rgba(0,102,204,0.1);
}

.who-we-are .img-fluid {
    border: 3px solid var(--primary-color);
    padding: 0.5rem;
}
/* ================ Testimonials ================ */
.testimonial-card {
    background: #fff;
    border-radius: 15px;
    padding: 5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.stars {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.carousel-control-prev,
.carousel-control-next {
    width: 1%;
    padding: .25rem;
    border: #2c3e50;
    border-radius: 50%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0,0,0,0.3);
    padding: 1.2rem;
    border-radius: 50%;
}

/* ================ Team Section ================ */
.text-left{
    padding: 1.5rem;
    border: 1px solid #004a99;
    box-shadow: 0 10px 20px #000;
    border-radius: 10px;
}

.founder-img {
   max-width: 350px;
   max-height: 350px;
   padding: 1rem;
   box-shadow: 0 10px 30px rgba(0,0,0,0.9);
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    margin: 0 auto 1.5rem;
}

/* ================ CTA Section ================ */
.cta-section {
    background: linear-gradient(135deg, , #004a99);
    color: black;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}
.close-modal{
    background-color: transparent;
    border: none;
    font-weight: 900;
}
.cta-section h2 {
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.contact-modal {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}

.submit-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    transition: var(--transition);
}

.submit-btn:hover {
    background: #004a99;
    transform: translateY(-2px);
}

@keyframes modalSlideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes modalSlideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ================ Footer ================ */
.footer-section {
    background: var(--text-light);
    padding: 4rem 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.social-icons .fa-brands {
    font-size: 1.4rem;
    color: var(--text-dark);
    transition: var(--transition);
    padding: 0.5rem;
}

.social-icons .fa-brands:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* ================ Animations ================ */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.animate-up.active {
    opacity: 1;
    transform: translateY(0);
}

.btn-hover-effect {
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.btn-hover-effect:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.btn-hover-effect::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 100%;
    background: rgba(255,255,255,0.2);
    left: -50px;
    top: 0;
    transform: skewX(-15deg);
    transition: var(--transition);
}

.btn-hover-effect:hover::after {
    left: 120%;
}

/* ================ Responsive Design ================ */
@media (max-width: 992px) {
    .display-4 {
        font-size: 2.5rem;
    }
    
    .team-img {
        width: 220px;
        height: 220px;
    }
    .btn-lg{
        --bs-btn-font-size: .7rem;
    }
}

@media (max-width: 576px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .btn-lg {
        width: 100%;
        font-size: .7rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
}