/* ==========================================================================
   DESIGN SYSTEM - DYNAMIC TESİSAT SITE STYLESHEET
   ========================================================================== */

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

/* CSS Variables & Theme Definitions */
:root {
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Color Palette - HSL Tailored Colors */
    --hue-primary: 205; /* Blue */
    --hue-secondary: 25; /* Orange */
    --hue-accent: 180; /* Teal/Light Blue */

    --primary: hsl(var(--hue-primary), 90%, 52%);
    --primary-hover: hsl(var(--hue-primary), 100%, 45%);
    --primary-light: hsl(var(--hue-primary), 90%, 94%);
    
    --secondary: hsl(var(--hue-secondary), 100%, 50%);
    --secondary-hover: hsl(var(--hue-secondary), 100%, 43%);
    
    --dark: hsl(222, 40%, 12%);
    --dark-surface: hsl(222, 35%, 16%);
    --dark-border: hsl(222, 30%, 22%);
    
    --light: hsl(0, 0%, 98%);
    --light-surface: hsl(0, 0%, 100%);
    --light-border: hsl(210, 20%, 92%);
    
    --text-main: hsl(220, 20%, 25%);
    --text-muted: hsl(220, 10%, 55%);
    --text-light: hsl(0, 0%, 95%);
    --text-white: hsl(0, 0%, 100%);

    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: rgba(31, 38, 135, 0.08);

    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 32px;
    --border-radius-pill: 9999px;

    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    
    --container-width: 1240px;
    --header-height: 80px;
}

/* Base resets & global styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-weight: 700;
    line-height: 1.25;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.text-center { text-align: center; }
.flex { display: flex; }
.grid { display: grid; }

.section-tag {
    color: var(--secondary);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 24px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin-top: 12px;
    border-radius: var(--border-radius-pill);
}

.section-title.center::after {
    margin-left: auto;
    margin-right: auto;
}

/* Custom Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--border-radius-pill);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(26, 140, 255, 0.35);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 140, 255, 0.45);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.35);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.45);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--light-border);
    color: var(--dark);
}

.btn-outline:hover {
    background-color: var(--light-border);
    transform: translateY(-2px);
}

.btn-white {
    background-color: var(--text-white);
    color: var(--primary);
}

.btn-white:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--secondary);
    color: var(--text-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.btn-circle:hover {
    background-color: var(--primary);
    transform: rotate(360deg);
}

/* ==========================================================================
   HEADER SECTION - Glassmorphism, Floating Navigation
   ========================================================================== */
.top-bar {
    background-color: var(--dark);
    color: var(--text-light);
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid var(--dark-border);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-info {
    display: flex;
    gap: 24px;
}

.top-bar-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-info i {
    color: var(--primary);
}

.top-bar-socials {
    display: flex;
    gap: 16px;
}

.top-bar-socials a:hover {
    color: var(--primary);
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    background-color: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px var(--glass-shadow);
    transition: var(--transition-smooth);
}

header.scrolled {
    height: 70px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 48px;
    width: auto;
    transition: var(--transition-smooth);
}

header.scrolled .logo img {
    height: 40px;
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

/* Dropdown Container */
.nav-menu .dropdown {
    position: relative;
    padding: 10px 0; /* Add padding so hover is stable when moving cursor down */
}

.nav-menu a {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark);
    font-size: 0.88rem;
    position: relative;
    padding: 6px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-smooth);
    border-radius: var(--border-radius-pill);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--primary);
}

/* Dropdown Menu Box Styling */
.nav-menu .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background-color: var(--light-surface);
    border: 1px solid var(--light-border);
    border-radius: var(--border-radius-sm);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
}

.nav-menu .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-menu .dropdown-menu li {
    width: 100%;
}

.nav-menu .dropdown-menu a {
    display: block;
    width: 100%;
    padding: 12px 20px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-main);
    text-transform: uppercase;
    transition: var(--transition-fast);
    border: none;
    text-align: left;
    letter-spacing: 0.5px;
}

.nav-menu .dropdown-menu a::after {
    display: none; /* Hide the slide underline for dropdown items */
}

.nav-menu .dropdown-menu a:hover {
    background-color: var(--primary-light);
    color: var(--primary);
    padding-left: 24px; /* Slide effect on hover */
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile Menu Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--dark);
}

/* ==========================================================================
   HERO SLIDER - Fade and Slide Animations
   ========================================================================== */
.hero-slider-wrapper {
    position: relative;
    height: calc(100vh - var(--header-height) - 37px);
    min-height: 550px;
    background-color: var(--dark);
    overflow: hidden;
}

.hero-slider {
    position: relative;
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), visibility 1s;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.4) contrast(1.1);
    transform: scale(1.1);
    transition: transform 6s ease-out;
}

.slide.active .slide-image {
    transform: scale(1);
}

.slide-content {
    position: relative;
    z-index: 5;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--text-white);
    max-width: 800px;
}

.slide-subtitle {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s, opacity 0.8s 0.3s;
}

.slide.active .slide-subtitle {
    transform: translateY(0);
    opacity: 1;
}

.slide-title {
    font-size: 3.8rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 24px;
    line-height: 1.15;
    transform: translateY(40px);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s, opacity 0.8s 0.5s;
}

.slide.active .slide-title {
    transform: translateY(0);
    opacity: 1;
}

.slide-text {
    font-size: 1.15rem;
    margin-bottom: 36px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s, opacity 0.8s 0.7s;
}

.slide.active .slide-text {
    transform: translateY(0);
    opacity: 1;
}

.slide-actions {
    display: flex;
    gap: 16px;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.9s, opacity 0.8s 0.9s;
}

.slide.active .slide-actions {
    transform: translateY(0);
    opacity: 1;
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
}

.slider-arrow:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow-prev { left: 30px; }
.slider-arrow-next { right: 30px; }

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-dot.active {
    background-color: var(--primary);
    transform: scale(1.3);
    width: 24px;
    border-radius: var(--border-radius-pill);
}

/* ==========================================================================
   BRANDS SECTION
   ========================================================================== */
.brands-section {
    background-color: var(--light-surface);
    padding: 30px 0;
    border-bottom: 1px solid var(--light-border);
}

.brands-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.brand-item {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.6;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-item:hover {
    opacity: 1;
    color: var(--primary);
}

.brand-item i {
    font-size: 1.8rem;
}

/* ==========================================================================
   ABOUT SECTION - Custom Shaped Images and Details
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-shape-image {
    width: 100%;
    height: 480px;
    object-fit: cover;
    clip-path: polygon(25% 0%, 100% 0%, 100% 75%, 75% 100%, 0% 100%, 0% 25%);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transition: var(--transition-smooth);
}

.about-shape-image:hover {
    transform: scale(1.02);
}

/* Custom organic shape border container */
.about-image-container::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: calc(100% + 30px);
    height: calc(100% + 30px);
    border: 3px dashed var(--secondary);
    clip-path: polygon(25% 0%, 100% 0%, 100% 75%, 75% 100%, 0% 100%, 0% 25%);
    border-radius: var(--border-radius-lg);
    z-index: -1;
    transition: var(--transition-smooth);
}

.about-image-container:hover::before {
    transform: translate(5px, 5px) scale(0.98);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background-color: var(--primary);
    color: var(--text-white);
    padding: 24px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 30px rgba(26,140,255,0.3);
    text-align: center;
    max-width: 160px;
    z-index: 10;
}

.about-badge .years {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    display: block;
}

.about-badge .label {
    font-size: 0.85rem;
    font-weight: 600;
}

.about-content {
    padding-left: 20px;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 24px;
}

.about-bullets {
    margin-bottom: 36px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-bullet-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--dark);
}

.about-bullet-item i {
    width: 24px;
    height: 24px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* ==========================================================================
   SERVICES SECTION - Grid Layout & Hover Zoom Effects
   ========================================================================== */
.services-section {
    background-color: hsl(210, 20%, 98%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: #0c1c30; /* Dark navy background */
    border: 2px solid #162a45;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 16px; /* Insets the image and contents */
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary); /* Border turns vibrant blue on hover */
    box-shadow: 0 15px 30px rgba(2, 132, 199, 0.2);
}

.service-card-image {
    position: relative;
    height: 190px;
    overflow: hidden;
    border-radius: 8px; /* Rounded corners on the image inset */
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-card-image img {
    transform: scale(1.08); /* Zoom effect */
}

.service-card-body {
    padding: 20px 0 8px 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-white); /* White text */
    transition: var(--transition-fast);
    line-height: 1.4;
}

.service-card:hover .service-card-title {
    color: var(--primary); /* Text color turns blue on hover */
}

/* 3 dots styling matching reference layout */
.service-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 5px;
}

.service-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #1e3a8a;
    transition: var(--transition-smooth);
}

.service-dots span:nth-child(1) { opacity: 0.5; }
.service-dots span:nth-child(2) { opacity: 0.8; }
.service-dots span:nth-child(3) { opacity: 1.0; }

.service-card:hover .service-dots span {
    background-color: var(--primary); /* Dots turn bright blue on hover */
}

/* ==========================================================================
   CALL TO ACTION BANNER - Multi-color Gradients
   ========================================================================== */
.cta-section {
    background: linear-gradient(135deg, hsl(222, 40%, 12%) 0%, hsl(205, 90%, 25%) 100%);
    color: var(--text-white);
    border-radius: var(--border-radius-md);
    padding: 60px 48px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26,140,255,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 5;
    flex-wrap: wrap;
    gap: 40px;
}

.cta-content h2 {
    color: var(--text-white);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.cta-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cta-phone {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cta-phone-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary);
    transition: var(--transition-smooth);
}

.cta-phone:hover .cta-phone-icon {
    background-color: var(--secondary);
    color: var(--text-white);
}

.cta-phone-details span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    display: block;
}

.cta-phone-details a {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-white);
}

/* ==========================================================================
   PHOTO GALLERY SECTION - Carousel & Lightbox
   ========================================================================== */
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    background-color: var(--light-surface);
    border: 1px solid var(--light-border);
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--border-radius-pill);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--text-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    height: 280px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(12, 28, 48, 0.9) 0%, rgba(12, 28, 48, 0.2) 70%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 5;
}

.gallery-item-title {
    color: var(--text-white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
    transform: translateY(15px);
    transition: var(--transition-smooth) 0.1s;
}

.gallery-item-cat {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: translateY(15px);
    transition: var(--transition-smooth);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(12, 28, 48, 0.15);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-item-title,
.gallery-item:hover .gallery-item-cat {
    transform: translateY(0);
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(12, 28, 48, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    position: relative;
    max-width: 85%;
    max-height: 85%;
}

.lightbox-content img {
    max-height: 80vh;
    max-width: 100%;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 3px solid rgba(255,255,255,0.1);
}

.lightbox-caption {
    color: var(--text-white);
    text-align: center;
    margin-top: 15px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--secondary);
}

/* ==========================================================================
   TESTIMONIALS SECTION - Dark Background, Glowing Card Borders
   ========================================================================== */
.testimonials-section {
    background-color: var(--dark);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(26,140,255,0.08) 1px, transparent 0);
    background-size: 24px 24px;
    opacity: 0.5;
}

.testimonials-section .section-title {
    color: var(--text-white);
}

.testimonials-slider {
    margin-top: 50px;
    position: relative;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    gap: 30px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card {
    background-color: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--border-radius-md);
    padding: 40px;
    color: var(--text-light);
    min-width: calc(33.333% - 20px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-family: serif;
    font-size: 6rem;
    color: rgba(26, 140, 255, 0.08);
    position: absolute;
    top: -10px;
    left: 20px;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(26, 140, 255, 0.1);
}

.testimonial-stars {
    color: var(--secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1rem;
    margin-bottom: 24px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    flex-grow: 1;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid var(--dark-border);
    padding-top: 20px;
}

.testimonial-user-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.testimonial-user-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-white);
    display: block;
}

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

/* ==========================================================================
   BLOG / NEWS SECTION
   ========================================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.blog-card {
    background-color: var(--light-surface);
    border: 1px solid var(--light-border);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: var(--transition-smooth);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.blog-card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.08);
}

.blog-card-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--primary);
    color: var(--text-white);
    padding: 6px 14px;
    border-radius: var(--border-radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.blog-card-body {
    padding: 30px 24px;
}

.blog-card-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.blog-card-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
    transition: var(--transition-fast);
}

.blog-card-title a:hover {
    color: var(--primary);
}

.blog-card-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.blog-card-link {
    font-weight: 700;
    color: var(--dark);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-card-link i {
    color: var(--primary);
    transition: var(--transition-fast);
}

.blog-card:hover .blog-card-link i {
    transform: translateX(4px);
}

/* ==========================================================================
   FOOTER SECTION - Sleek Design, Creator Widget
   ========================================================================== */
footer {
    background-color: var(--dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 80px 0 0 0;
    border-top: 1px solid var(--dark-border);
    position: relative;
    z-index: 5;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    margin-bottom: 24px;
}

.footer-logo img {
    height: 48px;
}

.footer-text {
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--dark-surface);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--dark-border);
    transition: var(--transition-smooth);
}

.footer-social-icon:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-title {
    color: var(--text-white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 28px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary);
    border-radius: var(--border-radius-pill);
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.footer-links a i {
    font-size: 0.75rem;
    color: var(--primary);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text-white);
}

.footer-links a:hover i {
    transform: translateX(4px);
}

.footer-contact li {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.footer-contact i {
    font-size: 1.1rem;
    color: var(--primary);
    margin-top: 4px;
}

.footer-contact-text span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-contact-text a:hover {
    color: var(--text-white);
}

/* Bottom Bar and Creator Info */
.footer-bottom {
    border-top: 1px solid var(--dark-border);
    padding: 24px 0;
    font-size: 0.85rem;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.creator-info {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: var(--dark-surface);
    padding: 8px 16px;
    border-radius: var(--border-radius-pill);
    border: 1px solid var(--dark-border);
}

.creator-info span {
    color: var(--text-muted);
}

.creator-info a {
    color: var(--secondary);
    font-weight: 700;
}

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

/* Floating Contact Widget */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.6rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.25);
    transition: var(--transition-smooth);
}

.floating-btn:hover {
    transform: scale(1.1) translateY(-3px);
}

.floating-whatsapp {
    background-color: #25d366;
}

.floating-phone {
    background-color: var(--primary);
}

/* ==========================================================================
   INNER PAGE HEADER - Parallax and Dark Backgrounds
   ========================================================================== */
.page-banner {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, hsl(222, 40%, 12%) 0%, hsl(205, 80%, 20%) 100%);
    color: var(--text-white);
    text-align: center;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(26,140,255,0.06) 1px, transparent 0);
    background-size: 30px 30px;
}

.page-banner-title {
    color: var(--text-white);
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb-separator {
    color: rgba(255,255,255,0.4);
}

.breadcrumb-active {
    color: var(--secondary);
    font-weight: 600;
}

/* Inner Page Layout & Sidebars */
.inner-page-wrapper {
    padding: 80px 0;
}

.inner-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 50px;
}

.main-content {
    background-color: var(--light-surface);
    padding: 40px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--light-border);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.main-content img.featured-image {
    border-radius: var(--border-radius-md);
    margin-bottom: 30px;
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.main-content h3 {
    margin: 28px 0 16px;
}

.main-content p {
    margin-bottom: 20px;
    color: var(--text-main);
    font-size: 1.05rem;
}

/* Sidebar Widgets */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.widget {
    background-color: var(--light-surface);
    padding: 30px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--light-border);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.widget-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--light-border);
    padding-bottom: 10px;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.widget-search {
    display: flex;
}

.widget-search input {
    flex-grow: 1;
    padding: 12px 16px;
    border: 1px solid var(--light-border);
    border-radius: var(--border-radius-pill) 0 0 var(--border-radius-pill);
    outline: none;
    font-size: 0.9rem;
}

.widget-search button {
    padding: 0 20px;
    background-color: var(--primary);
    border: none;
    color: var(--text-white);
    border-radius: 0 var(--border-radius-pill) var(--border-radius-pill) 0;
    cursor: pointer;
}

.widget-search button:hover {
    background-color: var(--primary-hover);
}

.widget-list li {
    border-bottom: 1px dashed var(--light-border);
    padding: 10px 0;
}

.widget-list li:last-child {
    border-bottom: none;
}

.widget-list a {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    font-weight: 500;
}

.widget-list a:hover {
    color: var(--primary);
}

.widget-recent-post {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.widget-recent-post img {
    width: 70px;
    height: 70px;
    border-radius: var(--border-radius-sm);
    object-fit: cover;
}

.widget-recent-post-title {
    font-size: 0.9rem;
    line-height: 1.3;
    font-weight: 600;
}

.widget-recent-post-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Forms (Contact Form) */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px 18px;
    border: 1px solid var(--light-border);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
    outline: none;
}

/* Contact Detail Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.contact-info-card {
    background-color: var(--light-surface);
    padding: 24px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--light-border);
    display: flex;
    gap: 20px;
}

.contact-info-card-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.contact-info-card-details h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.map-container {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-top: 50px;
    height: 450px;
}

/* ==========================================================================
   ADMIN PANEL DASHBOARD UI
   ========================================================================== */
.admin-body {
    background-color: #f3f4f6;
    color: #1f2937;
    font-family: var(--font-body);
    min-height: 100vh;
}

.admin-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

/* Admin Sidebar */
.admin-sidebar {
    background-color: #111827;
    color: #9ca3af;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #1f2937;
}

.admin-sidebar-header {
    padding: 24px;
    border-bottom: 1px solid #1f2937;
    text-align: center;
}

.admin-sidebar-header h2 {
    color: var(--text-white);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.admin-sidebar-menu {
    flex-grow: 1;
    padding: 20px 0;
}

.admin-sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    font-size: 0.95rem;
    color: #9ca3af;
    transition: var(--transition-fast);
}

.admin-sidebar-menu a:hover {
    color: var(--text-white);
    background-color: #1f2937;
}

.admin-sidebar-menu a.active {
    color: var(--text-white);
    background-color: var(--primary);
}

.admin-sidebar-footer {
    padding: 20px 24px;
    border-top: 1px solid #1f2937;
    font-size: 0.8rem;
}

/* Admin Main Content Wrapper */
.admin-main {
    display: flex;
    flex-direction: column;
}

.admin-header {
    background-color: var(--light-surface);
    height: 70px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.admin-header-title {
    font-size: 1.4rem;
    font-weight: 700;
}

.admin-header-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-header-profile span {
    font-weight: 600;
}

.admin-content-body {
    padding: 40px;
    flex-grow: 1;
}

/* Dashboard Stat Cards */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.admin-stat-card {
    background-color: var(--light-surface);
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius-md);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.admin-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
}

.admin-stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

.admin-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Data Tables */
.admin-card {
    background-color: var(--light-surface);
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius-md);
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.admin-table-wrapper {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.admin-table th {
    background-color: #f9fafb;
    padding: 14px 20px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #4b5563;
    border-bottom: 1px solid #e5e7eb;
}

.admin-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.95rem;
}

.admin-table tbody tr:hover {
    background-color: #f9fafb;
}

.badge {
    padding: 4px 10px;
    border-radius: var(--border-radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
}

.badge-success { background-color: #d1fae5; color: #065f46; }
.badge-danger { background-color: #fee2e2; color: #991b1b; }
.badge-warning { background-color: #fef3c7; color: #92400e; }
.badge-info { background-color: #e0f2fe; color: #075985; }

/* Admin Forms */
.admin-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* Alert Boxes */
.alert {
    padding: 16px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 24px;
    font-weight: 600;
}

.alert-success { background-color: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-danger { background-color: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* Mini previews */
.img-preview {
    width: 80px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
    border: 1px solid #e5e7eb;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .inner-grid {
        grid-template-columns: 1fr;
    }
    .testimonial-card {
        min-width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    .top-bar {
        display: none;
    }
    .nav-menu {
        display: none; /* Handled via JavaScript mobile class */
    }
    .mobile-nav-toggle {
        display: block;
    }
    .hide-mobile {
        display: none !important;
    }
    .hero-slider-wrapper {
        height: calc(100vh - var(--header-height));
    }
    .slide-title {
        font-size: 2.4rem;
    }
    .slide-text {
        font-size: 1rem;
    }
    .slider-arrow {
        display: none;
    }
    .section-title {
        font-size: 2rem;
    }
    .about-bullets {
        grid-template-columns: 1fr;
    }
    .cta-flex {
        flex-direction: column;
        align-items: flex-start;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .admin-layout {
        grid-template-columns: 1fr;
    }
    .admin-sidebar {
        display: none; /* Simple response for admin */
    }
    .admin-form-row {
        grid-template-columns: 1fr;
    }
    .testimonial-card {
        min-width: 100%;
    }
}

/* JavaScript Active classes for Menu */
.nav-menu.mobile-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: var(--light-surface);
    padding: 30px;
    border-bottom: 1px solid var(--light-border);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    gap: 20px;
    z-index: 999;
}
