/* ==========================================
   Dolphinn Technologiies - Custom Styling
   ========================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --color-primary: #0b4c8c;
    /* Corporate Blue */
    --color-primary-dark: #073563;
    /* Darker Blue */
    --color-secondary: #0082c8;
    /* Bright Blue / Hero Text */
    --color-dark-bg: #0c2e5c;
    /* Deep Dark Blue for Header/Hero/Footer */
    --color-slate: #4e738a;
    /* Slate / Welcome Banner */
    --color-slate-dark: #3a576a;
    /* Darker Slate */
    --color-accent: #ffc107;
    /* Gold/Yellow for Stars */
    --color-text-dark: #2c3e50;
    /* Main Body Text */
    --color-text-muted: #6c757d;
    /* Muted Text */
    --color-light-bg: #f8f9fa;
    /* Light Grey Section Background */
    --color-border: #e2e8f0;
    /* Light border */

    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;

    /* Transitions */
    --transition-fast: all 0.2s ease-in-out;
    --transition-medium: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* Global Styles */
body {
    font-family: var(--font-primary);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-dark-bg);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--color-secondary);
}

/* Section Header Utility */
.section-title {
    font-weight: 700;
    font-size: 2.25rem;
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 800px;
    margin: 0 auto 2.5rem auto;
}

/* ==========================================
   Header & Navbar
   ========================================== */
.navbar {
    padding: 1.25rem 0;
    background-color: transparent;
    transition: var(--transition-medium);
    z-index: 1050;
}

.navbar.navbar-scrolled {
    padding: 0.75rem 0;
    background-color: var(--color-dark-bg);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
    color: #ffffff;
    line-height: 1.1;
    margin: 0;
}

.brand-subtitle {
    font-family: var(--font-primary);
    font-size: 0.8rem;
    color: #79c5ff;
    letter-spacing: 1px;
    margin: 0;
}

.navbar-nav .nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0.75rem;
    padding: 0.5rem 0 !important;
    position: relative;
    font-size: 0.95rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #ffffff;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: var(--transition-fast);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ==========================================
   Hero Section
   ========================================== */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-color: var(--color-dark-bg);
    background-image: linear-gradient(135deg, rgba(12, 46, 92, 0.85) 0%, rgba(12, 46, 92, 0.95) 100%), url('../img/hero_bg.jpg');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding-top: 100px;
    padding-bottom: 60px;
}

.hero-subtitle {
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.hero-title {
    font-family: var(--font-heading);
    color: #ffffff;
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    max-width: 800px;
}

/* Hero Quick Links / Icons */
.hero-features {
    margin-top: 3rem;
}

.hero-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
    padding: 0.5rem;
}

.hero-feature-item:hover {
    color: #ffffff;
    transform: translateY(-5px);
}

.hero-feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-fast);
}

.hero-feature-item:hover .hero-feature-icon {
    background-color: var(--color-secondary);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 130, 200, 0.4);
}

/* ==========================================
   Vision & Mission Section
   ========================================== */
.vision-mission-section {
    padding: 6rem 0;
}

.vm-block {
    margin-bottom: 5rem;
}

.vm-block:last-child {
    margin-bottom: 0;
}

.vm-title {
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-dark-bg);
}

.vm-text {
    font-size: 1.05rem;
    color: var(--color-text-dark);
    margin-bottom: 0;
}

.vm-image-container {
    border-radius: 16px;
    overflow: hidden;

}

.vm-image-container:hover {
    /* box-shadow: var(--shadow-lg); */
    transform: scale(1.02);
}

.vm-image-container img {
    /* width: 100%; */
    height: auto;
    max-width: 60%;
    /* object-fit: cover; */
}

/* ==========================================
   Welcome Banner (Trapezoid/Chevron Bottom)
   ========================================== */
.welcome-banner {
    background-image: linear-gradient(rgba(11, 76, 140, 0.75),
            rgba(11, 76, 140, 0.75)), url('../img/parralax-banner-jpg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    background-color: var(--color-slate);
    color: #ffffff;
    padding: 5rem 0 7rem 0;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
}

.welcome-title {
    font-weight: 700;
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.welcome-text {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    opacity: 0.95;
}

/* ==========================================
   Why Choose Us Section (Tabs)
   ========================================== */
.why-choose-section {
    padding: 6rem 0;
}

.why-choose-tabs {
    border-bottom: 1px solid var(--color-border);
    justify-content: center;
    margin-bottom: 3rem;
    gap: 1.5rem;
}

.why-choose-tabs .nav-item {
    margin-bottom: -1px;
}

.why-choose-tabs .nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-text-dark);
    border: none;
    padding: 0.75rem 1.5rem;
    border-bottom: 3px solid transparent;
    transition: var(--transition-fast);
    background: none;
}

.why-choose-tabs .nav-link:hover {
    color: var(--color-primary);
}

.why-choose-tabs .nav-link.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
    background-color: transparent;
}

.tab-content-container {
    align-items: center;
}

.tab-img-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.tab-img-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.tab-pane-title {
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    color: var(--color-dark-bg);
}

.tab-pane-text {
    font-size: 1.05rem;
    color: var(--color-text-dark);
}

/* ==========================================
   Testimonial Section
   ========================================== */
.testimonial-section {
    padding: 6rem 0;
    background-color: var(--color-light-bg);
}

.testimonial-card {
    background-color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-medium);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    color: var(--color-accent);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-quote {
    font-size: 1rem;
    color: var(--color-text-dark);
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    min-height: 120px;
}

.testimonial-author {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-dark-bg);
    margin-bottom: 0.1rem;
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Watermark quotation mark */
.testimonial-quote-icon {
    position: absolute;
    bottom: 1.5rem;
    right: 2rem;
    font-size: 5rem;
    color: rgba(0, 130, 200, 0.08);
    line-height: 1;
    pointer-events: none;
    font-family: sans-serif;
}

/* Carousel Indicators */
.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-text-muted);
    opacity: 0.4;
    border: none;
    margin: 0 6px;
    transition: var(--transition-fast);
}

.carousel-indicators .active {
    width: 25px;
    border-radius: 5px;
    background-color: var(--color-primary);
    opacity: 1;
}

.carousel-indicators {
    bottom: -3.5rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #0b4c8c;
    border-radius: 50%;
    padding: 20px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    z-index: 10;
}

/* ==========================================
   Sales & Services Section
   ========================================= */
.services-section {
    padding: 6rem 0;
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-card {
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
}

.services-grid {
    position: relative;
}

.service-card {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-medium);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.service-img-container {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.service-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.service-card:hover .service-img-container img {
    transform: scale(1.08);
}

.service-card-body {
    padding: 1.5rem;
    text-align: center;
    background-color: #ffffff;
    border-top: 3px solid var(--color-primary);
}

.service-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    color: var(--color-dark-bg);
}

.logo-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 10px 0;
}

.logo-track {
    display: flex;
    align-items: center;
    gap: 25px;
    width: max-content;
    animation: marqueeMove 20s linear infinite;
}

.brand-logo-item {
    min-width: 180px;
    height: 100px;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.brand-logo-item img {
    width: 100%;
    height: 60px;
    object-fit: contain;
}

@keyframes marqueeMove {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ==========================================
   Contact & Queries Section
   ========================================== */
.contact-section {
    padding: 6rem 0;
}

.contact-card-title {
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--color-dark-bg);
}

.contact-form .form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-dark);
}

.contact-form .form-control {
    border: 1px solid #ccd4db;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.contact-form .form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(11, 76, 140, 0.15);
}

.contact-form textarea.form-control {
    resize: none;
}

.btn-submit {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-primary);
    background-color: transparent;
    border: 2px solid var(--color-primary);
    border-radius: 6px;
    padding: 0.6rem 2.5rem;
    font-size: 0.95rem;
    transition: var(--transition-medium);
}

.btn-submit:hover {
    color: #ffffff;
    background-color: var(--color-primary);
    box-shadow: 0 5px 15px rgba(11, 76, 140, 0.3);
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-info-icon {
    font-size: 1.2rem;
    color: var(--color-primary);
    width: 30px;
    margin-top: 0.2rem;
}

.contact-info-text {
    flex: 1;
    font-size: 1rem;
    color: var(--color-text-dark);
}

.contact-info-text a {
    color: var(--color-text-dark);
}

.contact-info-text a:hover {
    color: var(--color-primary);
}

/* Map Container */
.map-container {
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================
   Footer Section
   ========================================== */
.footer-section {
    background-color: var(--color-dark-bg);
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 0 0;
    font-size: 0.95rem;
    border-top: 4px solid var(--color-secondary);
}

.footer-widget-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-brand-title {
    color: #ffffff;
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 0.1rem;
    font-family: var(--font-heading);
}

.footer-brand-subtitle {
    color: #79c5ff;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.footer-brand-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-contact-info i {
    width: 25px;
    color: var(--color-secondary);
    margin-top: 0.25rem;
}

.footer-contact-info span {
    flex: 1;
}

.footer-contact-info a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-info a:hover {
    color: #ffffff;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

/* ==========================================
   Floating Widgets & Utilities
   ========================================== */
.whatsapp-widget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition-medium);
}

.whatsapp-widget:hover {
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-widget i {
    font-size: 1.25rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* ==========================================
   Responsive Breakpoints
   ========================================== */
@media (max-width: 991.98px) {
    .navbar {
        background-color: var(--color-dark-bg);
        padding: 0.75rem 0;
    }

    .navbar-nav .nav-link {
        margin: 0.25rem 0;
        padding: 0.25rem 0 !important;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .welcome-banner {
        clip-path: polygon(0 0, 100% 0, 100% 90%, 50% 100%, 0 90%);
        padding: 4rem 0 5rem 0;
    }

    .tab-img-container {
        margin-bottom: 2rem;
    }

    .testimonial-card {
        padding: 1.75rem;
    }

    .testimonial-quote {
        min-height: auto;
    }

    .footer-bottom-links {
        justify-content: center;
        margin-top: 0.5rem;
    }

    .footer-bottom {
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .why-choose-tabs {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .why-choose-tabs .nav-link {
        border-bottom: none;
        border-left: 3px solid transparent;
        text-align: left;
        padding: 0.5rem 1rem;
    }

    .why-choose-tabs .nav-link.active {
        border-left-color: var(--color-primary);
        border-bottom-color: transparent;
        background-color: rgba(11, 76, 140, 0.05);
    }

    .welcome-title {
        font-size: 1.8rem;
    }
}