/* -------------------------------------------------------------
 * ELAHE KIANI DECORATION DESIGN - ACCURATE BLUE DESIGN SYSTEM
 * Matching user screenshot: Rich Blue Sections, White Text, 
 * Serif Headings, Improved Font Sizes, Services Dropdown Hover,
 * Fully Responsive Mobile Views across All Pages, Footer Social Media.
 * ------------------------------------------------------------- */

@import url('fonts.css');
@import url('fontawesome.min.css');

:root {
    --site-blue: #1653e0;          /* Vibrant Rich Blue from screenshot */
    --dark-blue: #0b37a5;          /* Darker blue for buttons / badges */
    --hover-blue: #23a6f0;
    --accent-blue: #26C2F2;        /* Cyan left indicator bar from screenshot */
    --text-white: #ffffff;
    --text-dark: #212121;
    --container-width: 1170px;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Montserrat', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-white);
    background-color: var(--site-blue);
    overflow-x: hidden;
}

a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.25s ease;
}

a:hover {
    opacity: 0.85;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* --- SITE HEADER --- */
.site-header {
    background-color: var(--site-blue) !important;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
}

.site-branding .logo img {
    max-height: 50px;
    width: auto;
    background: #ffffff;
    padding: 4px 8px;
    border-radius: 4px;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.menu-primary-items {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.menu-primary-items a {
    color: #ffffff !important;
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 500;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.menu-item-has-children {
    position: relative;
}

/* --- SERVICES DROPDOWN (DESKTOP) --- */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 260px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    list-style: none;
    border-radius: 8px;
    border-left: 5px solid var(--accent-blue);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    padding: 14px 0;
    margin-top: 10px;
}

.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-item-has-children:hover .nav-arrow {
    transform: rotate(180deg);
}

.nav-arrow {
    font-size: 12px;
    transition: transform 0.25s ease;
}

.sub-menu li a {
    color: #212121 !important;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 500;
    line-height: 1.35;
    display: block;
    transition: all 0.2s ease;
}

.sub-menu li a:hover {
    background-color: #f8fafc;
    color: var(--site-blue) !important;
    padding-left: 32px;
}

.right-navigation {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 25px;
}

.social-menu {
    display: flex;
    list-style: none;
    gap: 12px;
}

.social-menu a {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 28px;
    cursor: pointer;
    padding: 4px;
}

/* --- MOBILE DRAWER & ACCORDION --- */
.mobile-navigation {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background-color: #0b37a5;
    z-index: 2000;
    padding: 25px 20px;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 5px 0 25px rgba(0,0,0,0.3);
}

.mobile-navigation.is-active { left: 0; }

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.is-active { opacity: 1; visibility: visible; }

.menu-mobile-close {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 25px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.menu-mobile-items { list-style: none; }
.menu-mobile-items li {
    position: relative;
}

.menu-mobile-items li a {
    color: #ffffff !important;
    padding: 14px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 19px;
    font-family: var(--font-heading);
    font-weight: 500;
}

.mobile-submenu-toggle {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.menu-mobile-items .sub-menu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    background: rgba(0, 0, 0, 0.15) !important;
    box-shadow: none !important;
    border-left: 3px solid var(--accent-blue) !important;
    border-radius: 4px !important;
    padding: 6px 0 6px 15px !important;
    display: none;
    margin: 8px 0 12px 0 !important;
}

.menu-mobile-items .sub-menu li a {
    color: #e2e8f0 !important;
    font-size: 17px !important;
    padding: 10px 10px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    justify-content: flex-start;
}

.menu-mobile-items .sub-menu li a:hover {
    color: #ffffff !important;
    background: rgba(255,255,255,0.1);
}

/* --- HERO SECTION --- */
.hero-section {
    background-color: var(--site-blue);
    padding: 100px 0 90px 0;
    color: #ffffff;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 24px;
    color: #ffffff;
}

.hero-description p {
    font-size: 24px !important;
    line-height: 1.6;
    margin-bottom: 35px;
    color: #ffffff;
    opacity: 0.95;
    font-weight: 300;
}

.btn-contact {
    display: inline-block;
    background-color: var(--dark-blue) !important;
    color: #ffffff !important;
    padding: 16px 36px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.btn-contact:hover {
    background-color: #072a82 !important;
}

/* --- FEATURE CARDS SECTION --- */
.section-features {
    background-color: #ffffff;
    padding: 80px 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: #ffffff;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

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

.feature-card-title {
    background-color: var(--site-blue);
    color: #ffffff;
    text-align: center;
    padding: 18px 15px;
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 600;
}

/* --- COMPLEXITY & SLIDER SECTION --- */
.section-complexity {
    background-color: var(--site-blue);
    padding: 90px 0;
    color: #ffffff;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.section-heading-large {
    font-family: var(--font-heading);
    font-size: 46px !important;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 20px;
    color: #ffffff;
}

.section-text-large p {
    font-size: 22px !important;
    color: #ffffff;
    opacity: 0.95;
    line-height: 1.6;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    max-width: 550px;
    margin: 0 auto;
    width: 100%;
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }

/* --- ELAHE KIANI BIOGRAPHY SECTION --- */
.section-bio {
    background-color: var(--site-blue);
    padding: 70px 0;
    color: #ffffff;
}

.bio-card {
    display: flex;
    gap: 40px;
    align-items: center;
}

.bio-img {
    width: 340px;
    height: auto;
    border-radius: 20px;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.bio-content h3 {
    font-family: var(--font-heading);
    font-size: 42px !important;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 700;
}

.bio-content p {
    font-size: 20px !important;
    line-height: 1.7;
    color: #ffffff;
    opacity: 0.95;
}

/* --- ICON FEATURE BOXES --- */
.section-icon-features {
    background-color: var(--site-blue);
    padding: 80px 0;
    color: #ffffff;
}

.icon-box {
    text-align: center;
    padding: 20px;
}

.icon-box-icon {
    width: 80px;
    height: 80px;
    background-color: var(--dark-blue);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px auto;
}

.icon-box-title {
    font-size: 26px !important;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
}

.icon-box-desc {
    font-size: 20px !important;
    color: #ffffff;
    opacity: 0.9;
}

/* --- WHAT WE DO & GALLERY SECTION --- */
.section-gallery {
    background-color: var(--site-blue);
    padding: 90px 0;
    color: #ffffff;
}

.section-title-center {
    text-align: center;
    margin-bottom: 50px;
}

.section-title-center h2 {
    font-family: var(--font-heading);
    font-size: 48px !important;
    color: #ffffff;
    margin-bottom: 12px;
    font-weight: 700;
}

.section-title-center p {
    font-size: 24px !important;
    color: #ffffff;
    opacity: 0.9;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.grid-2-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 600px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

/* --- SERVICES WE OFFER GRID --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.service-card {
    text-align: center;
    padding: 30px 15px;
}

.service-card i {
    font-size: 46px;
    color: #ffffff;
    margin-bottom: 18px;
}

.service-card h3 {
    font-size: 24px !important;
    color: #ffffff;
    font-weight: 500;
}

/* --- CONTACT PAGE 2-COLUMN GRID --- */
.contact-section {
    background-color: #ffffff;
    padding: 60px 0 90px 0;
    color: #212121;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* --- FORM RESPONSE FEEDBACK MESSAGES --- */
.form-response {
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    display: none;
}

.form-response.success {
    display: block !important;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-response.error {
    display: block !important;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* --- LIGHTBOX MODAL --- */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox-modal.is-active { opacity: 1; visibility: visible; }

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #ffffff;
    font-size: 36px;
    cursor: pointer;
}

/* --- FOOTER STYLING --- */
.sidebar-footer {
    background-color: var(--site-blue) !important;
    color: #ffffff;
    padding: 70px 0 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 50px;
}

.footer-column h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 22px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column p, .footer-column a {
    color: #ffffff;
    opacity: 0.9;
    font-size: 18px !important;
    line-height: 1.7;
}

.footer-social-links a:hover {
    background-color: var(--dark-blue) !important;
    transform: translateY(-3px);
    opacity: 1 !important;
}

.footer-text {
    background-color: var(--site-blue) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    padding: 24px 15px;
}

.footer-text p.copyright, .footer-text p.copyright a {
    color: #ffffff !important;
    font-size: 17px !important;
    opacity: 0.9;
}

/* --- BACK TO TOP BUTTON --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background-color: var(--dark-blue) !important;
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.is-visible { opacity: 1; visibility: visible; }

/* -------------------------------------------------------------
 * COMPREHENSIVE RESPONSIVE MOBILE BREAKPOINTS
 * ------------------------------------------------------------- */
@media (max-width: 991px) {
    .menu-primary-items, .right-navigation { display: none !important; }
    .mobile-menu-toggle { display: block !important; }
    
    .hero-section { padding: 60px 0; }
    .hero-title { font-size: 40px; }
    .hero-description p { font-size: 20px !important; }

    .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .grid-2 { grid-template-columns: 1fr; gap: 35px; }
    
    .carousel-slide img { height: 340px; }

    .bio-card { flex-direction: column; text-align: center; gap: 25px; }
    .bio-img { width: 100%; max-width: 320px; }
    
    .gallery-grid, .grid-3-col, .grid-2-col { grid-template-columns: repeat(2, 1fr) !important; gap: 15px !important; max-width: 100% !important; }
    .gallery-item img { height: 210px !important; }

    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
    .contact-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
    .footer-grid { grid-template-columns: 1fr; gap: 35px; }
}

@media (max-width: 600px) {
    .container { padding: 0 16px; }
    
    .hero-title { font-size: 30px; }
    .hero-description p { font-size: 18px !important; }
    .btn-contact { padding: 14px 28px; font-size: 15px; }

    .section-heading-large { font-size: 30px !important; }
    .section-text-large p { font-size: 18px !important; }

    .bio-content h3 { font-size: 32px !important; }
    .bio-content p { font-size: 17px !important; }

    .grid-3, .services-grid { grid-template-columns: 1fr; gap: 20px; }
    .gallery-grid, .grid-3-col, .grid-2-col { grid-template-columns: 1fr !important; gap: 16px !important; max-width: 100% !important; }
    .gallery-item img { height: 250px !important; }

    .feature-card img { height: 260px; }

    .section-title-center h2 { font-size: 34px !important; }
    .section-title-center p { font-size: 18px !important; }

    .carousel-slide img { height: 260px; }
}
