* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #d0d5d8ee 0%, #dcf6dfd8 25%, #edccefcf 50%, #cbdcf9e0 75%, #edf3d6d2 100%);
    background-size: 400% 400%;
    animation: gradientBG 30s ease infinite;
    color: #333;
    line-height: 1.6;
    scroll-behavior: smooth;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 0%;
    }
    25% {
        background-position: 100% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    75% {
        background-position: 0% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}


/* Navigation */

.cnavbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.dl,
ol,
ul {
    margin-bottom: 0rem;
}

.logoo-img {
    width: 40px;
    /* size of circle */
    height: 40px;
    border-radius: 50%;
    /* makes it a circle */
    object-fit: cover;
    /* crops nicely */
    margin-right: 10px;
    /* spacing before name */
}

.cnav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.cnav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.cnav-links a {
    text-decoration: none;
    color: #2c3e50;
    align-items: center;
    font-weight: 500;
    transition: color 0.3s ease;
}

.cnav-links a:hover {
    color: #3498db;
}


/* Glass Card */

.glass-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin-top: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}


/* Hero Section */

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    justify-content: center;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/homebg.jpeg');
    /* <-- Replace with your image */
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    /* <-- Adjust for transparency */
    z-index: 0;
}

.hero-animation {
    flex: 1 1 50%;
    max-width: 800px;
    transform: scale(1.2);
    margin-right: 2rem;
}


/* 
  .hero {
    justify-content: space-around; 
  } */

.hero-content {
    flex: 1 1 50%;
    max-width: 500px;
    text-align: left;
    /* ensure left-aligned text */
    z-index: 2;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* remove centering padding */
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    pointer-events: none;
    background: radial-gradient(circle at 25% 30%, rgba(255, 255, 255, 0.12), transparent 60%), radial-gradient(circle at 75% 70%, rgba(200, 220, 255, 0.12), transparent 60%);
    transform: rotate(0deg);
    animation: auroraRotate 30s linear infinite;
    z-index: 1;
}

@keyframes auroraRotate {
    from {
        transform: translate(0, 0) rotate(0deg);
    }
    to {
        transform: translate(0, 0) rotate(360deg);
    }
}

@keyframes gradient {
    0%,
    100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
}

.hero-content {
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.profile-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 2rem;
    animation: float 6s ease-in-out infinite;
    object-fit: cover;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    background: linear-gradient(45deg, #2c3e50, #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: slideInUp 1s ease-out;
    margin-top: 2.5rem;
    font-weight: bold;
}

.hero .tagline {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: #34495e;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0.5rem;
    animation: slideInUp 1s ease-out 0.2s both;
}

.hero .about-blurb {
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    font-weight: bold;
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 0.5rem;
    animation: slideInUp 1s ease-out 0.4s both;
}

.experience-logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    animation: slideInUp 1s ease-out 0.6s both;
}

.logo-img {
    width: 80px;
    height: 80px;
    border-radius: 20%;
}

.company-logo {
    padding: 0.5rem 1rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    width: auto;
    transition: transform 0.3s ease;
    /* iOS-style background */
    background: linear-gradient(135deg, #f8f9fa, #e0e0e0);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
}

.company-logo img {
    height: 60px;
    /* or 35px */
    width: auto;
    object-fit: contain;
}

.company-logo:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    animation: slideInUp 1s ease-out 0.8s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Section Styling */

.section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(45deg, #3498db, #2980b9);
    border-radius: 2px;
}

.footer .social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 15px;
}

.footer .social-link img.icon {
    width: 32px;
    /* Adjust size here */
    height: 32px;
    /* Keeps all icons same size */
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}

.footer .social-link img.icon:hover {
    transform: scale(1.2);
    opacity: 0.8;
}


/* Technologies Grid */

.tech-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 2rem;
    margin-top: 3rem;
    margin-left: 3rem;
    margin-right: 3rem;
}

.tech-item {
    text-align: center;
    padding: 0.5rem 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    border-radius: 16px;
    position: relative;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.tech-item:hover {
    transform: scale(3.08);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.681);
    background: rgba(255, 255, 255, 0.25);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #3498db;
}

.tech-title {
    font-size: 1.2rem;
    font-weight: bold;
    /* Makes text bold */
    color: #2c3e50;
    /* Adjust color as desired */
    margin-top: 0.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}


/* Optional hover effect for tech-item affecting the tech-title */

.tech-item:hover .tech-title {
    color: #3498db;
    /* Color change on hover */
    transform: scale(1.1);
    /* Slight scale on hover */
}


/* Products Grid */


/* Products Section – single-column, collapsible cards */

.product-primium {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.product-primium h1 {
    margin: 0;
    font-size: 1.6rem;
    transition: all 0.3s ease;
}

.product-primium p {
    margin: 10px 0 0;
    font-size: 1.1rem;
    color: #555;
}


/* Change color of "primium" text on hover */

.product-primium:hover h1 {
    -webkit-text-stroke: 0.5px #78d748;
    /* width & color of stroke */
    /* makes fill invisible so stroke shows */
}

.products-grid {
    display: flex;
    flex-direction: column;
}

.product-card {
    padding: 0;
    overflow: hidden;
}


/* Header row with logo, info, price & toggle */

.product-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.product-header:hover {
    background: rgba(255, 255, 255, 0.1);
}


/* Logo + basic info */

.product-header-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.product-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(45deg, #3498db, #2980b9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.product-info {
    flex: 1;
}

.product-name {
    font-size: 1.4rem;
    font-weight: bold;
    color: #2c3e50;
}

.product-year {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.product-short-description {
    color: #34495e;
    font-size: 0.95rem;
    line-height: 1.4;
}


/* Price, buy button & dropdown icon */

.product-header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-price {
    font-size: 1.4rem;
    font-weight: bold;
    color: #27ae60;
}

.buy-button {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;
}

.buy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(46, 204, 113, 0.3);
}

.dropdown-icon {
    font-size: 1.2rem;
    color: #7f8c8d;
    transition: transform 0.3s ease;
    margin-left: 1rem;
}


/* Expanded state */

.product-card.expanded .dropdown-icon {
    transform: rotate(180deg);
}

.product-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.product-card.expanded .product-content {
    max-height: 1000px;
    /* plenty to show inner content */
}

.product-content-inner {
    padding-left: 2rem;
    padding-right: 2rem;
}


/* Inner layout when expanded */

@media (max-width: 400px) {
    .product-content-inner {
        /* keep your existing padding */
        padding: 0 2rem;
        margin: 2rem;
        /* allow vertical scrolling if content is taller than the container */
        overflow-y: auto;
        /* give it a max-height so the overflow can actually kick in */
        max-height: 100vh;
        /* optional: smooth scrolling on iOS */
        -webkit-overflow-scrolling: touch;
    }
}

.product-layout {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
}

.left-pane,
.right-pane {
    flex: 1;
}

.product-description {
    color: #34495e;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.demo-video {
    width: 90%;
    margin: 0 auto;
    height: 210px;
    /* Adjust as needed */
    background: rgba(0, 0, 0, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7f8c8d;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(6px);
}

.product-card iframe {
    border-radius: 0;
    margin: 0 auto;
    /* let overflow:hidden on parent do the rounding */
}

.screenshot-carousel {
    width: 100%;
    height: 450px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    border: 2px dashed rgba(255, 255, 255, 0.3);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.carousel-slide img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.carousel-slide.placeholder {
    color: #6f888aff;
    font-size: 1.1rem;
    flex-direction: column;
    gap: 1rem;
}

.carousel-slide.placeholder::before {
    content: "📱";
    font-size: 3rem;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(163, 175, 204, 0.56);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
}


/* .carousel-nav:hover {
     background: rgba(255, 255, 255, 0.3);
     transform: translateY(-50%) scale(1.1);
 } */

.pause-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Semi-transparent overlay */
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
}

.pause-logo {
    font-size: 5rem;
    /* Adjust size as needed */
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.pause-overlay:hover .pause-logo {
    opacity: 1;
}

.carousel-nav.prev {
    left: 10px;
}

.carousel-nav.next {
    right: 10px;
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.pause-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pause-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.246);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
}

.pause-bar {
    width: 10px;
    height: 20px;
    background: #333;
    margin: 0 3px;
    border-radius: 2px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.carousel-dot.active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}


/* Tech tags & secondary buy button */

.technologies-section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
    padding-bottom: 1rem;
}

.technologies-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: rgba(52, 152, 219, 0.2);
    color: #2980b9;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}


/* 1) Match the #expanded-buy-button-div ID, not .expanded-buy-button-div */

#expanded-buy-button-div {
    display: flex;
    justify-content: center;
    /* horizontal centering */
    align-items: center;
    /* vertical centering */
}


/* 2) Keep vertical spacing on the button, but remove left/right margins */

.expanded-buy-button {
    padding: 1rem;
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    /* only top/bottom margin so it stays centered */
    margin-bottom: 1rem;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expanded-buy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(46, 204, 113, 0.3);
}

.expanded-buy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(46, 204, 113, 0.3);
}


/* Responsive layout for hero section */

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 100vh;
        flex-direction: column;
        padding: 2rem 1rem;
        text-align: center;
    }
    .hero-animation {
        order: 1;
        /* move animation below content */
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    .hero-content {
        order: 2;
        padding: 0px 1rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* center horizontally */
        justify-content: center;
        /* optional for vertical centering */
    }
    .hero-content {
        text-align: center;
    }
    .experience-logos {
        flex-direction: column;
        align-items: center;
    }
}

@media (min-width: 769px) {
    .hero-animation {
        width: 100%;
        max-width: 500px;
    }
}


/* Left → Right animation */

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}


/* Right → Left animation */

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}


/* Utility classes you add manually */

.animate-left {
    animation: slideInFromLeft 0.6s ease forwards;
}

.animate-right {
    animation: slideInFromRight 0.6s ease forwards;
}


/* Responsive tweaks */

@media (max-width: 768px) {
    .product-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .product-card.expanded .product-content {
        max-height: 1500px;
    }
    .product-layout {
        flex-direction: column;
        gap: 1.5rem;
    }
    .demo-video {
        height: 200px;
    }
    .screenshot-carousel {
        height: 400px;
    }
}

.modal-content {
    border-radius: 20px;
    background: #fefefe;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
    border: none;
}


/* Blur everything except modal when .modal-blur is on body */

body.modal-blur> :not(.modal-backdrop):not(.modal) {
    filter: blur(6px);
    transition: filter 0.3s ease;
}


/* Modal
 .modal {
     display: none;
     position: fixed;
     z-index: 2000;
     left: 0;
     top: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.5);
     backdrop-filter: blur(5px);
 } */


/* .modal-content {
     background: rgba(255, 255, 255, 0.9);
     backdrop-filter: blur(15px);
     margin: 5% auto;
     padding: 2rem;
     border-radius: 20px;
     width: 90%;
     max-width: 600px;
     border: 1px solid rgba(255, 255, 255, 0.3);
 } */


/* .close {
     color: #aaa;
     float: right;
     font-size: 28px;
     font-weight: bold;
     cursor: pointer;
 } */


/* .close:hover {
     color: #000;
 } */


/* 

*/


/* 
 

 

   
 */

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
}

.toggle-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.toggle {
    position: relative;
    width: 50px;
    height: 25px;
    background: #ccc;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.form-group label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: bold;
    color: #2c3e50;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.toggle.active {
    background: #3498db;
}

.toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 21px;
    height: 21px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.toggle.active::after {
    transform: translateX(25px);
}

.submit-btn {
    width: 100%;
    margin-top: 1rem;
    padding: 0.5rem;
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.3);
}


/* Custom Inquiry */

.custom-inquiry-section {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem;
    /* Makes it responsive */
}

.lottie-container {
    flex: 0 0 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-inquiry {
    flex: 0 0 50%;
    background: rgba(255, 255, 255, 0.361);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.857);
}

@media (max-width: 768px) {
    .custom-inquiry-section {
        flex-direction: column-reverse;
        /* Reverse order */
    }
    .custom-inquiry,
    .lottie-container {
        flex: 0 0 100%;
    }
}


/* Footer */

.footer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-link {
    display: inline-block;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    background: rgba(52, 152, 219, 0.3);
}

.contact-info {
    margin-bottom: 1rem;
    color: #34495e;
}


/* Responsive */

@media (max-width: 768px) {
    .cnav-links {
        display: none;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .experience-logos {
        justify-content: center;
        gap: 2rem;
        margin: 1rem 0 2rem;
    }
    .cta-button {
        margin-top: 1.5rem;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
}


/* Animations */

.fade-in {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.3s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(13px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
}

.service-card:hover {
    transform: translateY(-5px);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card.offer {
    border: 2px solid rgba(39, 174, 96, 0.5);
    background: rgba(39, 174, 96, 0.1);
}

.service-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.service-description {
    color: #34495e;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.service-price {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: auto;
    width: fit-content;
    align-self: center;
}

.service-price:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3);
}

.service-price.free {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
}

.service-price.free:hover {
    box-shadow: 0 10px 30px rgba(39, 174, 96, 0.3);
}

.price-original {
    text-decoration: line-through;
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-right: 0.5rem;
}


/* Service Modal */

.service-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.service-modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    margin: 3% auto;
    padding: 1.5rem;
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-height: 90vh;
    overflow: auto;
    scrollbar-width: none;
}

.service-modal-content::-webkit-scrollbar {
    display: none;
    /* For Chrome, Safari, and Opera */
}

.service-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.service-close:hover {
    color: #000;
}

.service-modal h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    clear: both;
}

.service-modal .price-display {
    font-size: 1.3rem;
    font-weight: bold;
    color: #27ae60;
    margin-bottom: 1.5rem;
}

.required-items {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 0.5rem;
}

.required-items h3 {
    color: #2c3e50;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.required-items ul {
    margin-left: 1.2rem;
    color: #34495e;
}

.required-items li {
    margin-bottom: 0.3rem;
    line-height: 1.3;
    font-size: 0.9rem;
}

.service-form {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 0.8rem;
    overflow: auto;
}

.service-form-group {
    margin-bottom: 0.6rem;
}

.service-form-group label {
    display: block;
    margin-bottom: 0.2rem;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.service-form-group input,
.service-form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    font-family: inherit;
    font-size: 0.9rem;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.service-form-group input:focus,
.service-form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.service-form-group textarea {
    height: 50px;
    resize: none;
}

.service-submit-btn {
    width: 100%;
    padding: 0.6rem;
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    margin-top: 0.3rem;
}

.service-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.3);
}

.thank-you-message {
    text-align: center;
    padding: 2rem;
    color: #27ae60;
    font-size: 1.2rem;
    font-weight: bold;
}


/* Responsive */

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .service-card {
        padding: 1.5rem;
        min-height: 250px;
    }
    .service-modal-content {
        margin: 2% auto;
        padding: 1.2rem;
        width: 95%;
        max-height: 90vh;
    }
    .service-form {
        padding: 0.6rem;
    }
    .service-form-group {
        margin-bottom: 0.5rem;
    }
    .service-form-group input,
    .service-form-group textarea {
        padding: 0.4rem;
    }
    .service-submit-btn {
        padding: 0.5rem;
        margin-top: 0.2rem;
    }
}

.carousel-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 450px;
    mask: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}

.carousel-container2 {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 5rem;
    height: 350px;
    mask: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    padding: 0 2rem;
    animation: scrollLeft 20s linear infinite;
    will-change: transform;
    width: fit-content;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.highlight-card {
    min-width: 320px;
    width: 320px;
    height: 200px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(13px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    display: flex;
    gap: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.highlight-card:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-left {
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.app-logo {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #3498db, #2980b9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    justify-content: center;
    font-weight: bold;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.app-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.app-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.app-year {
    font-size: 0.9rem;
    color: #7f8c8d;
    font-weight: 500;
}

.card-right {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.award-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.award-position {
    font-size: 1.3rem;
    font-weight: 600;
    color: #e74c3c;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.college-name {
    font-size: 1rem;
    font-weight: 600;
    color: #34495e;
    line-height: 1.2;
}

.location {
    font-size: 0.9rem;
    color: #95a5a6;
    font-weight: 500;
}


/* Modal Styles */

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 1.5rem;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.334);
}

.modal-backdrop.active .modal-card {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.modal-logo {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.modal-title {
    font-size: 2rem;
    font-weight: 500;
    color: #2c3e50;
}

.modal-subtitle {
    font-size: 1.2rem;
    color: #e74c3c;
    font-weight: 600;
}

.modal-details {
    background: rgba(255, 255, 255, 0.42);
    border-radius: 16px;
    padding: 0.5rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.detail-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #34495e;
}

.detail-value {
    color: #2c3e50;
    font-weight: 500;
}

.modal-award {
    margin: 1rem 0;
    text-align: center;
}

.award-image {
    width: 100%;
    display: flex;
    justify-content: center;
    /* 👈 horizontal center */
    align-items: center;
    /* 👈 vertical center */
    margin-top: 1rem;
}

.award-image img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    object-fit: contain;
    /* keeps aspect ratio */
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: #7f8c8d;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #2c3e50;
}


/* Hide scrollbar for modal */

.modal-card::-webkit-scrollbar {
    display: none;
}

.modal-card {
    -ms-overflow-style: none;
    scrollbar-width: none;
}


/* Responsive */

@media (max-width: 768px) {
    .highlight-card {
        min-width: 280px;
        width: 280px;
        height: 200px;
        padding: 1rem;
    }
    .app-logo {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    .modal-card {
        padding: 2rem;
        margin: 1rem;
    }
    .modal-logo {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    .modal-title {
        font-size: 1.5rem;
    }
    .carousel-track {
        animation: scrollLeft 18s linear infinite;
    }
}
