@import url('https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary-color: #2563eb;
    --text-color: black;
    --white: #ffffff;
}

body {
    background-color: white;
}

/* NAVBAR STYLES */
.header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 50px;
    width: auto;
    transform: scale(3.5);
    transform-origin: left center;
    transition: transform 0.3s ease;
}

/* .logo:hover img {
    transform: scale(3.7);
} */

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-item {
    list-style: none;
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    display: inline-block;
}

.nav-link:hover {
    color: #ff5e0e;
}

.nav-link.active {
    color: #ff5e0e;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ff5e0e;
    animation: underlineGrow 0.3s ease-out;
}

@keyframes underlineGrow {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.btn-lets-talk {
    background-color: #ff5e0e;
    color: var(--white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-lets-talk:hover {
    transform: translateY(-2px);
    background-color: white;
    color: #ff5e0e !important;
    border: 1px solid #ff5e0e;
    box-shadow: 0 5px 15px rgba(255, 94, 14, 0.2);
}

/* Services Dropdown - Desktop */
.services-dropdown {
    position: static;
}

.dropdown-container {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 115%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
    z-index: 99;
    padding: 1.5rem 0;
    max-width: 1200px;
    width: fit-content;
    pointer-events: none;
}



.dropdown-container.active {
    pointer-events: auto;

}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-content {
    display: flex;
    gap: 1.5rem;
    max-width: 1400px;
    width: 100%;
    padding: 0 2rem;
}

.dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0.8rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 160px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.dropdown-item:hover {
    background: #e7fff2ba;
    color: #333;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px #0064006f;
}

.dropdown-item-content {
    display: flex;
    flex-direction: column;
}

.dropdown-item i {
    font-size: 1.5rem;
    color: #ff5e0e;
    margin-top: 0.3rem;
}

.dropdown-item span {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
}

.dropdown-item:hover span {
    color: #333;
}

.dropdown-item:hover span .second-line {
    color: #666;
    transition: color 0.3s ease;
}

.dropdown-item span .second-line {
    display: block;
    font-weight: 500;
    color: white#666;
    font-size: 0.85rem;
}

/* Mobile Menu Styles */
.hamburger {
    display: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease;
    background-color: #ff5e0e;
}

.dropdown-icon {
    margin-top: -0.8rem !important;
    margin-left: 0.2rem;
    font-size: 0.65rem;
    transition: transform 0.3s ease;
    display: none !important;
}

/* Default: hide mobile logo, show desktop logo */
.logo-mobile {
  display: none;
}

.logo-desktop {
  display: inline;
}

@media (max-width: 768px) {
  .logo-desktop {
    display: none;
  }

  .logo-mobile {
    display: inline;
  }
}

/* Mobile Dropdown */
@media (max-width: 992px) {

    
    .dropdown-icon {
        display: inline-block !important;
    }


    .header {
        background-color: transparent;
    }

    .navbar-container {
        background-color: white;
    }

    .navbar-container.scrolled {
        border-radius: 0 0 30px 30px;
        overflow: hidden;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }
    .navbar {
        padding: 1rem;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Blur overlay for content behind menu */
    .blur-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        z-index: 98;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .blur-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 5rem;
        gap: 0;
        flex-direction: column;
        background-color: var(--white);
        width: 97%;
        height: 80vh;
        text-align: left;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 2rem 2rem 2rem;
        overflow-y: auto;
        border-top-right-radius: 60px;
        border-bottom-right-radius: 60px;
        z-index: 99;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1rem 0;
        width: 100%;
    }

    .dropdown-container {
        position: static;
        display: none;
        box-shadow: none;
        background: transparent;
        padding: 0;
        border-top: none;
        animation: none;
    }

    .dropdown-content {
        flex-direction: column;
        padding: 0;
        gap: 0;
    }

    .dropdown-item {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 0.8rem 0;
        border-bottom: 1px solid #eee;
        color: #333;
        background: transparent;
        min-width: auto;
        width: 100%;
    }

    .dropdown-item-content {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }

    .dropdown-item:hover {
        transform: none;
        box-shadow: none;
        background: rgba(255, 94, 14, 0.05);
    }

    .dropdown-item span {
        color: #333;
        font-size: 0.9rem;
        font-weight: 600;
        white-space: nowrap;
    }

    .dropdown-item span .second-line {
        color: #666;
        display: inline;
        font-weight: 500;
        font-size: 0.85rem;
        color: #666;
        /* margin-left: 0.3rem; */
    }

    .dropdown-item i {
        color: #ff5e0e;
        font-size: 1.2rem;
        min-width: 20px;
    }

    .services-dropdown.active .dropdown-container {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .dropdown-container {
        display: none;
        opacity: 0;
        visibility: hidden;
    }

    .services-dropdown {
        position: relative;
    }

    .services-dropdown.active .dropdown-container {
        position: fixed;
        top: 50%;
        left: 70%;
        /* transform: translate(-50%, -50%); */
        transform: translate(-50%, -50%);
        /* Shift slightly left */

        width: 50%;
        max-width: 250px;
        background: white;
        border-radius: 15px;
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
        padding: 1rem;
        display: block !important;
        z-index: 100;
        animation: fadeInFromLeft 0.3s ease-out;
        /* New animation */
    }

    @keyframes fadeInFromLeft {
        from {
            opacity: 0;
            transform: translate(-60%, -50%);
            /* Starts more left */
        }

        to {
            opacity: 1;
            transform: translate(-30%, -50%);
            /* Ends slightly left */
        }
    }

    .services-dropdown.active .dropdown-content {
        flex-direction: column;
        gap: 0.5rem;
    }

    .services-dropdown.active .dropdown-item {
        padding: 0.8rem 0.5rem;
        border-radius: 8px;
        border: 1px solid #eee;
        margin-bottom: 0.5rem;
    }

    .services-dropdown.active .dropdown-item:last-child {
        margin-bottom: 0;
    }

    .services-dropdown.active .dropdown-item i {
        font-size: 1rem;
    }

    .services-dropdown.active .dropdown-item span {
        font-size: 0.7rem;
    }

    .services-dropdown.active .dropdown-item .second-line {
        font-size: 0.7rem;
    }

    /* Make sure overlay covers everything */
    .blur-overlay.active {
        z-index: 99;
    }

    .dropdown-container {
        display: none;
        opacity: 0;
        visibility: hidden;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 80%;
        max-width: 250px;
        background: white;
        border-radius: 15px;
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
        padding: 1rem;
        z-index: 100;
        transition: all 0.3s ease;
    }

    .dropdown-item {
        pointer-events: auto;
        z-index: 101;
    }

    .services-dropdown.active .dropdown-container {
        display: flex;
        opacity: 1;
        visibility: visible;
        animation: fadeInFromLeft 0.3s ease-out;
    }

    .dropdown-content {
        flex-direction: column;
        width: 100%;
        padding: 0;
    }
}

/* LETS TALK MODEL  */

/* Modal Styles */
.lets-talk-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lets-talk-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1;
}

.modal-container {
    position: relative;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 2;
    transform: translateY(20px);
    transition: all 0.3s ease;
    padding: 2rem;
}

.lets-talk-modal.active .modal-container {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
    z-index: 3;
}

.modal-close-btn:hover {
    color: #ff5e0e;
}

.modal-content h2 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.modal-content p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: #666;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    pointer-events: none;
    background-color: #f9f9f9;
    padding: 0 0.5rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff5e0e;
    background-color: white;
}

.form-group input:focus+label,
.form-group textarea:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group textarea:not(:placeholder-shown)+label {
    top: -0.6rem;
    left: 0.8rem;
    font-size: 0.8rem;
    color: #ff5e0e;
    background-color: white;
}

.submit-btn {
    background-color: #ff5e0e;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.submit-btn:hover {
    background-color: #e0550c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 94, 14, 0.3);
}

.lets-talk-style {
    position: relative;
    
}

.lets-talk-sleeping,
.lets-talk-awake {
    position: absolute;
    top: -48px;
    right: -0px;
    width: 50px;
    height: 50px;

    img {
        width: 100%;
        height: auto;
    }
}

.lets-talk-awake {
    display: none;
}

.lets-talk-style:hover .lets-talk-sleeping {
    display: none;
}

.lets-talk-style:hover .lets-talk-awake {
    display: block;
}

/* Mobile Specific Styles */
@media (max-width: 768px) {
    .modal-container {
        width: 95%;
        padding: 1.5rem;
        max-height: 85vh;
    }

    .modal-content h2 {
        font-size: 1.5rem;
    }

    .modal-content p {
        font-size: 0.9rem;
    }

    .contact-form {
        gap: 1.2rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .form-group label {
        top: 0.8rem;
        left: 0.8rem;
        font-size: 0.9rem;
    }

    .submit-btn {
        padding: 0.8rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .modal-container {
        padding: 1.2rem;
    }

    .modal-content h2 {
        font-size: 1.3rem;
    }

    .contact-form {
        gap: 1rem;
    }
}


/*-------------------- ANIMATION  */
.main-animation {
    padding: 0;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(98vh - 80px);
    /* Subtract navbar height */
    text-align: center;
    /* Add padding-top equal to navbar height */
    /* padding-top: 80px;  */
    box-sizing: border-box;
    /* Ensures padding is included in height calculation */
}

.main-wrapper {
    width: 100%;
    max-width: none;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Remove height: 100% to allow natural content flow */
}

.animation-container {
    width: 75%;
    max-width: 450px;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Add min-height to ensure it takes space */
    min-height: 300px;
}

.top-text {
    background: linear-gradient(45deg, #2563eb, #7c3aed, #2563eb);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradientShift 5s ease infinite;
    font-family: "Ubuntu", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 2.3rem;
}

.bottom-text {
    font-size: 1.2rem;
    color: #4f46e5;
    display: inline;
    font-family: "Ubuntu", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.mobile-br {
    display: none;
    /* Hide by default */
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


.shape {
    position: absolute;
    opacity: 0.1;
    border-radius: 50%;
    animation: float 15s ease-in-out infinite;
    z-index: 0;
}

.shape.circle {
    border-radius: 50%;
}

.shape.rectangle {
    border-radius: 10px;
}

.shape.triangle {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 100px solid;
    opacity: 0.1;
}

/* Shape positions and sizes */
.shape-1 {
    width: 150px;
    height: 150px;
    background: #2563eb;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 100px;
    height: 100px;
    background: #7c3aed;
    bottom: 15%;
    right: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background: #4f46e5;
    top: 45%;
    left: 7%;
    animation-delay: 1s;
    border-radius: 15px;
}

.shape-4 {
    width: 120px;
    height: 120px;
    background: #9333ea;
    bottom: 20%;
    left: 15%;
    animation-delay: 1s;
}

.shape-5 {
    width: 100px;
    height: 100px;
    background: #6366f1;
    top: 20%;
    right: 5%;
    animation-delay: 3s;
    border-radius: 20px;
}

.shape-6 {
    width: 60px;
    height: 60px;
    background: #a855f7;
    bottom: 10%;
    right: 25%;
    animation-delay: 5s;
}

.shape-7 {
    width: 100px;
    height: 100px;
    background: #4f46e5;
    top: 25%;
    left: 30%;
    animation-delay: 1.5s;
    border-radius: 15px;
    /* Square with slightly rounded corners */
}

.shape-8 {
    width: 120px;
    height: 120px;
    background: #9333ea;
    bottom: 40%;
    right: 25%;
    animation-delay: 3.5s;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    /* Unique circle shape */
}

.shape-9 {
    width: 80px;
    height: 80px;
    background: #6366f1;
    top: 10%;
    right: 30%;
    animation-delay: 2.5s;
    border-radius: 15px;
    /* Another circle variation */
}


@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Mobile Responsive */
@media (max-width: 992px) {

    .mobile-br {
        display: inline;
        /* Show only in mobile */
    }

    .main-animation {
        padding-top: 20px;
        /* Reduced from 60px */
        min-height: calc(90vh - 60px);
    }

    .animation-container {
        width: 95%;
        min-height: 250px;
    }

    .shape {
        display: none;
        /* Hide shapes on mobile for better performance */
    }

    .shape-1,
    .shape-2 {
        display: block;
        width: 80px;
        height: 80px;
        opacity: 0.08;
    }

    .top-text {
        font-size: 2rem;
        color: linear-gradient(45deg, #2563eb, #7c3aed);
    }

    .bottom-text {
        font-size: 1.2rem;
    }
}




/* TOAST  */

/* Toast Styles */
.toast-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: auto;
  max-width: 100%;
}

.toast {
  background: #333;
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  margin-top: 10px;
  font-size: 14px;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.3s forwards;
  text-align: center; /* Center text */
  word-break: break-word; /* Wrap long words */
}

.toast-success {
  background-color: #28a745;
}

.toast-error {
  background-color: #dc3545;
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile view: full width toast */
@media (max-width: 600px) {
  .toast-container {
    left: 0;
    transform: none;
    width: 100%;
    padding: 0 10px;
  }

  .toast {
    width: 100%;
    box-sizing: border-box;
  }
}




.btn-loader {
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  margin-left: 10px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}


#whatsappBtn {
    position: fixed;
    bottom: 80px; /* Above the go-to-top button */
    right: 20px;
    background-color: #006400; /* WhatsApp green */
    color: white; /* White icon by default */
    border: 2px solid #006400; /* Green border (for smooth hover transition) */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 28px; /* Bigger icon */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0.9;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

#whatsappBtn:hover {
    opacity: 1;
    transform: translateY(-3px);
    background-color: transparent !important; /* White bg on hover */
    color: #25D366 !important; /* Green icon on hover */
    border-color: #25D366; /* Keep border green */
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    #whatsappBtn {
        width: 50px;
        height: 50px;
        font-size: 24px; /* Slightly smaller on mobile */
        bottom: 80px;
    }
}