/* ========================================
   MAGIZH DEVELOPERS - COMBINED STYLES
   Professional & Engaging Design 2025
   ======================================== */

/* ========================================
   1. ROOT VARIABLES & RESET
   ======================================== */

:root {
    /* Professional & Engaging Color Palette */
    --primary-color: #1E3A8A;
    /* Rich Navy Blue - Trust & Professionalism */
    --secondary-color: #0891B2;
    /* Vibrant Teal - Modern & Fresh */
    --accent-color: #F97316;
    /* Bold Orange - Energy & Action */
    --accent-secondary: #7C3AED;
    /* Rich Purple - Premium Touch */
    --text-color: #1F2937;
    /* Dark Gray - Readable */
    --text-light: #FFFFFF;
    /* Pure White */
    --text-muted: #6B7280;
    /* Medium Gray for secondary text */
    --background-light: #FFFFFF;
    /* Pure White */
    --background-subtle: #F9FAFB;
    /* Very Light Gray */
    --background-card: #FFFFFF;
    /* Card Background */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(8, 145, 178, 0.15);
    /* Teal tinted border */
    --shadow-soft: 0 10px 40px -10px rgba(30, 58, 138, 0.1);
    --shadow-medium: 0 20px 50px -12px rgba(30, 58, 138, 0.15);
    --shadow-strong: 0 25px 60px -15px rgba(30, 58, 138, 0.25);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
    /* Navy to Blue */
    --gradient-secondary: linear-gradient(135deg, #0891B2 0%, #06B6D4 100%);
    /* Teal gradient */
    --gradient-accent: linear-gradient(135deg, #F97316 0%, #FB923C 100%);
    /* Orange gradient */
    --gradient-bg: linear-gradient(180deg, #FFFFFF 0%, #F9FAFB 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(8, 145, 178, 0.03) 0%, rgba(249, 115, 22, 0.03) 100%);

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 120px 0;
    --section-padding-small: 80px 0;

    /* Transitions */
    --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background: var(--gradient-bg);
    background-attachment: fixed;
    overflow-x: hidden;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color);
    line-height: 1.2;
    letter-spacing: 0.5px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ========================================
   2. COMMON COMPONENTS
   ======================================== */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    background: var(--gradient-accent);
    color: white !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-fast);
    position: relative;
    text-decoration: none;
}

.btn:hover {
    background: var(--gradient-secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    color: white !important;
}

.section-title {
    text-align: center;
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1.5rem;
    background: linear-gradient(135deg, #1E3A8A 0%, #0891B2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: var(--gradient-accent);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(249, 115, 22, 0.3);
}

/* ========================================
   3. HEADER
   ======================================== */

header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-fast);
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

header:hover::after {
    opacity: 1;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1.5px;
    transition: all var(--transition-fast);
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 600;
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 10px;
    transition: width var(--transition-fast);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

/* ========================================
   4. HERO SECTION
   ======================================== */

.hero {
    height: 90vh;
    background: url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.8);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.8);
}

/* ========================================
   5. ABOUT SECTION
   ======================================== */

.about-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #F0F9FF 0%, #FFFFFF 50%, #FFF7ED 100%);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(8, 145, 178, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-placeholder {
    background: var(--background-card);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

/* ========================================
   6. SERVICES SECTION
   ======================================== */

.services {
    padding: var(--section-padding);
    background: var(--background-subtle);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    pointer-events: none;
}

.services .container {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.service-card {
    background: var(--background-card);
    padding: 3rem 2.5rem;
    text-align: center;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-fast);
    transform-origin: left;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--gradient-overlay);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    z-index: 0;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    width: 500px;
    height: 500px;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-strong);
    border-color: var(--secondary-color);
}

.service-card>* {
    position: relative;
    z-index: 1;
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform var(--transition-fast);
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotateY(360deg);
    transition: transform 0.6s ease;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1rem;
}

/* ========================================
   7. STATS SECTION
   ======================================== */

.stats-section {
    padding: var(--section-padding-small);
    background: var(--gradient-overlay);
    border-top: 2px solid var(--glass-border);
    border-bottom: 2px solid var(--glass-border);
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="%2306B6D4" opacity="0.1"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    flex: 1;
    min-width: 220px;
    padding: 2.5rem 2rem;
    background: var(--background-card);
    border-radius: 16px;
    border: 2px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-fast);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--secondary-color);
}

.stat-item .counter {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-item .counter::after {
    content: '+';
    font-size: 2.5rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    font-size: 1.05rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   8. PROJECTS SECTION
   ======================================== */

.projects {
    padding: var(--section-padding);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.project-card {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 20px;
    background: rgba(33, 33, 33, 0.9);
    color: white;
    transition: bottom 0.3s ease;
}

.project-card:hover .project-overlay {
    bottom: 0;
}
.project-overlay h3 {
    color : white
}

.project-card:hover img {
    transform: scale(1.1);
}

/* ========================================
   9. GALLERY CAROUSEL SECTION
   ======================================== */

.gallery {
    padding: var(--section-padding);
    background-color: var(--background-dark);
}

.gallery-carousel {
    margin-top: 3rem;
    padding: 0 50px 60px 50px;
    /* Space for arrows and dots */
}

.gallery-item {
    position: relative;
    margin: 0 10px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    cursor: zoom-in;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 72, 0.95), transparent);
    color: white;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    transform: translateY(0);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 1;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(100%);
    opacity: 0;
}

/* Slick Carousel Custom Styling */
.slick-prev,
.slick-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50%;
    z-index: 10;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    color: var(--primary-color) !important;
    font-size: 24px;
    line-height: 46px;
    text-align: center;
}

.slick-prev:hover,
.slick-next:hover {
    background: var(--primary-color) !important;
    color: white !important;
    transform: scale(1.1);
}

.slick-prev {
    left: -25px;
}

.slick-next {
    right: -25px;
}

.slick-prev:before,
.slick-next:before {
    content: '';
    display: none;
}

/* Slick Dots Styling - Clean & Elegant Design */
.slick-dots {
    bottom: -50px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

.slick-dots li {
    margin: 0;
    width: auto;
    height: auto;
}

.slick-dots li button {
    width: 12px;
    height: 12px;
    padding: 0;
}

.slick-dots li button:before {
    content: '';
    width: 12px;
    height: 12px;
    background: rgba(47, 120, 196, 0.25);
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    opacity: 1;
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.slick-dots li button:hover:before {
    background: rgba(47, 120, 196, 0.5);
    transform: translate(-50%, -50%) scale(1.2);
}

.slick-dots li.slick-active button:before {
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 72, 0.5);
    transform: translate(-50%, -50%);
}

/* ========================================
   10. LIGHTBOX STYLES
   ======================================== */

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 10001;
    animation: zoomIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 32px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg) scale(1.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.lightbox-caption {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 15px;
    background: rgba(0, 0, 72, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
}

/* ========================================
   11. CONTACT SECTION
   ======================================== */

.contact {
    padding: var(--section-padding);
    background-color: var(--background-card);
    color: var(--text-color);
    border-top: 1px solid var(--glass-border);
    position: relative;
}

.contact::before {
    display: none;
    /* Remove tech glow */
}

.contact .section-title {
    color: var(--text-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-item {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--glass-border);
    background: var(--background-dark);
    color: var(--text-color);
    font-family: inherit;
    border-radius: 6px;
    transition: var(--transition-fast);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--secondary-color);
}

.contact-form .btn {
    background: var(--gradient-accent);
    color: var(--text-light);
}

.contact-form .btn::before {
    background: var(--gradient-secondary);
}

.contact-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

/* ========================================
   12. GOOGLE FORM SECTION
   ======================================== */

.form-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.form-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(47, 120, 196, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.form-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.form-container {
    max-width: 800px;
    margin: 3rem auto 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.form-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px -15px rgba(0, 0, 0, 0.15);
}

.form-intro {
    text-align: center;
    margin-bottom: 30px;
}

.form-intro p {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-top: 10px;
    line-height: 1.6;
}

.form-wrapper {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.form-wrapper iframe {
    width: 100%;
    min-height: 856px;
    border: none;
    display: block;
    background: white;
}

/* Loading Animation */
.form-wrapper::before {
    content: 'Loading Form...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 600;
    z-index: -1;
}

/* ========================================
   13. OWNER SECTION
   ======================================== */

.owner-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #F0F9FF 0%, #FFF7ED 50%, #F0F9FF 100%);
    position: relative;
    overflow: hidden;
}

.owner-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.owner-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(8, 145, 178, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

.owner-card {
    display: flex;
    align-items: center;
    gap: 50px;
    background: rgba(255, 255, 255, 0.9);
    padding: 50px;
    border-radius: 24px;
    border: 2px solid transparent;
    background-image: linear-gradient(white, white),
        linear-gradient(135deg, var(--accent-color), var(--secondary-color), var(--accent-secondary));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 20px 60px rgba(30, 58, 138, 0.12);
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.owner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(30, 58, 138, 0.18);
}

.owner-image {
    flex: 0 0 320px;
    height: 380px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    position: relative;
}

.owner-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.2) 0%, rgba(8, 145, 178, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.owner-card:hover .owner-image::before {
    opacity: 1;
}

.owner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.owner-card:hover .owner-image img {
    transform: scale(1.08);
}

.owner-content {
    flex: 1;
}

.owner-subtitle {
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    margin-bottom: 12px;
    display: block;
    position: relative;
    padding-left: 20px;
}

.owner-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 2px;
    background: var(--gradient-accent);
}

.owner-name {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
    font-weight: 800;
    line-height: 1.2;
}

.owner-bio {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    line-height: 1.9;
}

.experience-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: var(--gradient-accent);
    border-radius: 50px;
    color: white;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
    position: relative;
    animation: pulse 2s ease-in-out infinite;
}

.experience-badge span {
    font-size: 1.5rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
    }

    50% {
        box-shadow: 0 8px 30px rgba(249, 115, 22, 0.5);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

/* ========================================
   14. FOOTER
   ======================================== */

footer {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e293b 100%);
    color: var(--text-light);
    border-top: none;
    padding: 5rem 0 2rem;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--secondary-color) 50%, var(--accent-secondary) 100%);
}

footer::after {
    content: '';
    position: absolute;
    top: 10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 10s ease-in-out infinite;
}

.footer-grid::before {
    content: '';
    position: absolute;
    bottom: 20%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(8, 145, 178, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 12s ease-in-out infinite reverse;
}

footer .container {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
    text-align: left;
    position: relative;
}

.footer-col h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.3rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    letter-spacing: 0.5px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 10px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
    color: white !important;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.footer-logo span {
    font-weight: 300;
    font-size: 0.9em;
    color: white !important;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: #cbd5e1;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 8px;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    opacity: 1;
    left: -15px;
}

.footer-contact p {
    margin-bottom: 16px;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.footer-social {
    align-items: left;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    text-align: center;
    color: white;
    font-size: 0.9rem;
    margin-top: 20px;
}

/* ========================================
   15. SOCIAL ICONS
   ======================================== */

.social-links {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.social-icon svg {
    position: relative;
    z-index: 1;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1) rotate(5deg);
    border-color: transparent;
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.4);
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon svg {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
}

.social-icon:hover svg {
    transform: scale(1.1);
}

/* ========================================
   16. MODAL STYLES
   ======================================== */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
}

.modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
    box-shadow: 0 10px 30px rgba(0, 0, 72, 0.3);
    animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s backwards;
}

.modal-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-message {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.modal-close-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 40px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 72, 0.2);
}

.modal-close-btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.3);
}

/* ========================================
   17. ANIMATIONS
   ======================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ========================================
   18. RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {

    /* Header */
    .nav-links {
        display: none;
        /* Mobile menu implementation needed later or simple stack */
    }

    /* Hero */
    .hero-content h1 {
        font-size: 2.5rem;
    }

    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
    }

    /* Gallery */
    .gallery-carousel {
        padding: 0 20px 50px 20px;
    }

    .gallery-item img {
        height: 250px;
    }

    .slick-prev,
    .slick-next {
        width: 40px;
        height: 40px;
        font-size: 20px;
        line-height: 36px;
    }

    .slick-prev {
        left: -10px;
    }

    .slick-next {
        right: -10px;
    }

    .slick-dots {
        bottom: -40px;
    }

    .slick-dots li button:before {
        width: 10px;
        height: 10px;
    }

    .slick-dots li.slick-active button:before {
        width: 14px;
        height: 14px;
        border-width: 2px;
    }

    /* Lightbox */
    .lightbox-content {
        max-width: 95vw;
        max-height: 95vh;
    }

    .lightbox-content img {
        max-height: 80vh;
    }

    .lightbox-close {
        top: -45px;
        width: 40px;
        height: 40px;
        font-size: 28px;
        line-height: 36px;
    }

    .lightbox-caption {
        font-size: 1rem;
        padding: 10px;
    }

    /* Form */
    .form-container {
        padding: 20px;
        margin: 2rem 10px 0;
    }

    .form-intro p {
        font-size: 1rem;
    }

    .form-wrapper iframe {
        min-height: 800px;
    }

    /* Owner */
    .owner-card {
        flex-direction: column;
        text-align: center;
    }

    .owner-image {
        width: 100%;
        height: 300px;
    }

    /* Footer */
    .footer-grid {
        text-align: left;
    }

    .footer-col h4::after {
        left: 8%;
        transform: translateX(-50%);
    }

    .footer-social {
        justify-content: left;
    }

    /* Modal */
    .modal-content {
        padding: 2rem 1.5rem;
        width: 95%;
    }

    .modal-icon {
        width: 70px;
        height: 70px;
        font-size: 2.5rem;
    }

    .modal-title {
        font-size: 1.75rem;
    }

    .modal-message {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 15px;
        border-radius: 12px;
    }

    .form-wrapper iframe {
        min-height: 900px;
    }
}