/* =========================================================
   style-responsive.css
   Enhanced responsive version of style.css
   Font: Poppins | Maintains all existing design, colors, and shadows
   ========================================================= */

/* ---------------------------
   GLOBAL BASE STYLES
--------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f7fafc;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Fixed White Navbar */
.navbar {
    position: fixed;            /* Always fixed at top */
    top: 0;
    width: 100%;
    background-color: #ffffff !important;  /* White background */
    z-index: 1050;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Navbar Links */
.navbar .nav-link {
    color: #008da6 !important;
    font-weight: 600;
    margin: 0 12px;
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.navbar .nav-link:hover {
    color: #005f75 !important;
}

/* Brand Logo */
.navbar-brand img {
    height: 50px;
    object-fit: contain;
}

/* Apply Now Button */
.btn-apply {
    background-color: #033f7e;
    color: #fff !important;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 25px;
    margin-left: 16px;
    border: none;
    display: inline-block;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-apply:hover {
    background-color: #002c57;
}

/* Responsive Navbar */
@media (max-width: 768px) {
    .navbar .nav-link {
        margin: 8px 0;
        text-align: center;
    }
    .btn-apply {
        margin: 10px auto;
        display: block;
    }
}

/* Optional: Prevent content from hiding under fixed navbar */
body {
    padding-top: 80px;  /* Adjust if navbar height changes */
}


/* ---------------------------
   HERO SECTION
--------------------------- */

.hero-section {
    width: 100%;
    overflow: hidden;
    position: relative;
    text-align: center;
}

.hero video {
    width: 100%;
    height: auto;
    max-height: 100vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Prevent cropping on any screen */
@media (max-width: 992px) {
    .hero video {
        object-fit: contain;
        max-height: 80vh;
    }
}

@media (max-width: 400px) {
    .hero video {
        object-fit: contain;
        max-height: 60vh;
    }
}

#speakerBtn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 5;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#speakerBtn svg {
    width: 24px;
    height: 24px;
}

/* ---------------------------
   CAROUSEL / SLIDER
--------------------------- */

.carousel-container {
    position: relative;
    height: 450px;
    width: 100%;
}

.carousel-item-custom {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.75s ease-in-out;
}

.carousel-item-custom.active {
    opacity: 1;
    position: relative;
}

.dark-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.slide-content {
    position: relative;
    z-index: 10;
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
}

.display-hero {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
}

@media (min-width: 576px) {
    .display-hero {
        font-size: 3.5rem;
    }
}

@media (min-width: 992px) {
    .display-hero {
        font-size: 4rem;
    }
}

.btn-cta-primary {
    background-color: #facc15;
    color: #312e81;
    border: none;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, background-color 0.3s;
}

.btn-cta-primary:hover {
    background-color: #f9db4a;
    transform: scale(1.05);
}

/* Responsive Carousel */
@media (max-width: 768px) {
    .carousel-container {
        height: 350px;
    }
    .display-hero {
        font-size: 2rem;
    }
}

/* ---------------------------
   PARALLAX BACKGROUND
--------------------------- */

.parallax-bg {
    background-image: linear-gradient(to right, rgba(243,244,246,0.742), rgba(243,244,246,0.596)), 
    url('../Assets/Img/Cover photos/Digital marketing banner.svg');
    background-size: 150% auto;
    background-repeat: no-repeat;
    animation: parallax-move 80s linear infinite alternate;
    overflow: hidden;
}

@keyframes parallax-move {
    0% { background-position-x: 0%; }
    100% { background-position-x: 100%; }
}

@media (max-width: 768px) {
    .parallax-bg {
        background-size: 200% auto;
    }
}

/* ---------------------------
   SERVICE & CARD STYLING
--------------------------- */

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08), 0 5px 10px rgba(0, 0, 0, 0.04);
}

.shadow-3d {
    box-shadow: 0 10px 30px var(--card-shadow-color), 0 30px 60px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--card-shadow-color), 0 40px 80px rgba(0, 0, 0, 0.12);
}

.icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    margin-bottom: 1rem;
}

/* Responsive Cards */
@media (max-width: 768px) {
    .service-card {
        margin-bottom: 1rem;
    }
}

/* ---------------------------
   CONTACT / FORM SECTION
--------------------------- */

.bg-abstract-tech {
    background-image: linear-gradient(to right, rgba(1, 9, 26, 0.354), rgba(0, 5, 14, 0.053)), 
    url('../Assets/Img/Cover photos/Business deal by shaking hands.svg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    width: 100%;
    padding: 40px 15px;
}

.glass-card {
    background: rgba(46, 65, 93, 0.621);
    backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease-in-out;
    padding: 40px 30px;
    border-radius: 12px;
}

/* Form Elements */
.form-control,
.form-select {
    width: 100%;
    padding: 0.6rem 0;
    font-size: 1rem;
    color: #fff;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    border-radius: 0;
}

.form-control::placeholder {
    color: rgba(255,255,255,0.5);
}

.form-control:focus {
    border-bottom: 2px solid #38BDF8;
    outline: 0;
}

/* Responsive Form */
@media (max-width: 768px) {
    .glass-card {
        padding: 25px 20px;
    }
}

/* ---------------------------
   FOOTER
--------------------------- */

.footer-dark {
    background-color: #0f172a;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    padding: 40px 0;
    text-align: center;
}

.footer-link{
    color:#00595f;
    text-decoration:none;
}
.footer-text {
    color: #00595f;
    text-decoration: none;
}

.footer-link:hover {
    color: #f59e0b;
}

.brand-text {
    color: #00595f;
}

/* ---------------------------
   SMARTWATCH (≤400px)
--------------------------- */

@media (max-width: 400px) {
    body {
        font-size: 0.8rem;
    }
    .display-hero {
        font-size: 1.5rem;
    }
    .btn-cta-primary,
    .btn-apply {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    .footer-text {
        font-size: 0.75rem;
    }
    .hero video {
        max-height: 55vh;
    }
}
