
/* ==========================================
   MIDNIGHT NAVY + ELECTRIC BLUE THEME
========================================== */

:root {
    --bg-dark: #0B1120;
    --bg-card: #151F33;
    --bg-hover: #1B2940;
    --blue: #2563EB;
    --blue-light: #60A5FA;
    --text-main: #F8FAFC;
    --text-muted: #B8C4D6;
    --border: rgba(148, 163, 184, 0.20);
    --glow: 0 0 25px rgba(37, 99, 235, 0.30);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', Arial, sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}


/* ==========================================
   HEADER
========================================== */

.profile-header {
    width: 100%;
    background: rgba(11, 17, 32, 0.97);
    border-bottom: 1px solid var(--border);
    padding: 18px 5%;
    position: relative;
    z-index: 10;
}

.header-container {
    max-width: 1150px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo span {
    color: var(--blue-light);
}

.back-home {
    color: var(--text-muted);
    font-size: 14px;
    transition: 0.3s;
}

.back-home:hover {
    color: var(--blue-light);
}


/* ==========================================
   MAIN PROFILE
========================================== */

.profile-page {
    min-height: 100vh;
    padding: 55px 15px;
}

.profile-container {
    max-width: 1100px;
    margin: auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}


/* ==========================================
   PROFILE HEADING
========================================== */

.profile-heading {
    text-align: center;
    margin-bottom: 35px;
}

.small-heading {
    display: inline-block;
    color: var(--blue-light);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 4px;
    margin-bottom: 12px;
}

.profile-heading h1 {
    font-size: 38px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.3;
}

.heading-line {
    width: 75px;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--blue),
        var(--blue-light)
    );
    border-radius: 10px;
    margin: 18px auto;
}

.profile-subtitle {
    max-width: 600px;
    margin: auto;
    color: var(--text-muted);
    font-size: 15px;
}


/* ==========================================
   GALLERY FRAME
========================================== */

.gallery-frame {
    background: #0B1120;
    border: 1px solid rgba(96, 165, 250, 0.35);
    padding: 14px;
    border-radius: 18px;
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.10);
    margin-bottom: 40px;
    transition: 0.35s;
}

.gallery-frame:hover {
    border-color: var(--blue-light);
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.25);
}

.gallery-top {
    display: flex;
    justify-content: space-between;
    padding: 5px 8px 14px;
    color: var(--blue-light);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.gallery-indicator {
    color: var(--text-muted);
    letter-spacing: 1px;
}


/* ==========================================
   SLIDER
========================================== */

.slider {
    width: 100%;
    height: 480px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #101A2C;
}

.slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    overflow: hidden;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 1s ease, filter 0.5s ease;
}

.slide.active:hover img {
    transform: scale(1.07);
    filter: brightness(1.08);
}


/* ==========================================
   SLIDER ARROWS
========================================== */

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 43px;
    height: 43px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    background: rgba(11,17,32,0.75);
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 3;
    transition: 0.3s;
}

.slider-btn:hover {
    background: var(--blue);
    box-shadow: 0 0 18px rgba(37,99,235,0.7);
}

.prev {
    left: 15px;
}

.next {
    right: 15px;
}


/* ==========================================
   SLIDER DOTS
========================================== */

.slider-dots {
    position: absolute;
    bottom: 18px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 9px;
    z-index: 4;
}

.dot {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 20px;
    background: rgba(255,255,255,0.55);
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    width: 28px;
    background: var(--blue-light);
    box-shadow: 0 0 12px var(--blue);
}


/* ==========================================
   SECTION TITLES
========================================== */

.section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.section-title span,
.contact-heading span {
    color: var(--blue-light);
    font-size: 14px;
    font-weight: 800;
}

.section-title h2,
.contact-heading h2 {
    font-size: 24px;
    color: var(--text-main);
    font-weight: 700;
}


/* ==========================================
   PROFILE DESCRIPTION
========================================== */

.profile-information {
    margin: 35px 0;
}

.profile-description {
    background: #101A2C;
    border-left: 4px solid var(--blue);
    border-radius: 8px;
    padding: 24px;
}

.profile-description p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 15px;
    text-align: justify;
}

.profile-description p:last-child {
    margin-bottom: 0;
}


/* ==========================================
   PROFILE DETAILS
========================================== */

.profile-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 35px 0;
}

.detail-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #101A2C;
    padding: 18px 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: 0.3s;
}

.detail-box:hover {
    transform: translateY(-5px);
    border-color: var(--blue-light);
    box-shadow: var(--glow);
}

.detail-icon {
    font-size: 25px;
    color: var(--blue-light);
}

.detail-box h3 {
    font-size: 14px;
    color: white;
}

.detail-box p {
    font-size: 11px;
    color: var(--text-muted);
}


/* ==========================================
   CONTACT SECTION
========================================== */

.contact-section {
    background: linear-gradient(
        135deg,
        #101A2C,
        #172B49
    );
    border: 1px solid rgba(96,165,250,0.25);
    border-radius: 16px;
    padding: 30px 22px;
    margin-top: 35px;
    text-align: center;
}

.contact-heading span {
    display: block;
    margin-bottom: 8px;
}

.contact-heading h2 {
    margin-bottom: 10px;
}

.contact-heading p {
    font-size: 14px;
    color: var(--text-muted);
}


/* ==========================================
   CONTACT BUTTONS
========================================== */

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 25px;
}

.contact-btn {
    min-width: 220px;
    padding: 14px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: white;
    transition: 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-5px);
}

.btn-icon {
    font-size: 27px;
}

.contact-btn strong,
.contact-btn small {
    display: block;
    text-align: left;
}

.contact-btn strong {
    font-size: 16px;
}

.contact-btn small {
    font-size: 11px;
    opacity: 0.85;
}


/* CALL BUTTON */

.call-btn {
    background: linear-gradient(
        135deg,
        #2563EB,
        #60A5FA
    );
    box-shadow: 0 7px 22px rgba(37,99,235,0.3);
}

.call-btn:hover {
    box-shadow: 0 0 25px rgba(96,165,250,0.55);
}


/* WHATSAPP BUTTON */

.whatsapp-btn {
    background: linear-gradient(
        135deg,
        #128C7E,
        #25D366
    );
    box-shadow: 0 7px 22px rgba(37,211,102,0.2);
}

.whatsapp-btn:hover {
    box-shadow: 0 0 25px rgba(37,211,102,0.5);
}


/* ==========================================
   BOTTOM GALLERY BUTTON
========================================== */

.gallery-bottom {
    text-align: center;
    margin-top: 30px;
}

.outline-btn {
    display: inline-block;
    border: 1px solid var(--blue-light);
    color: var(--blue-light);
    padding: 11px 25px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    transition: 0.3s;
}

.outline-btn:hover {
    background: var(--blue);
    color: white;
    box-shadow: var(--glow);
}


/* ==========================================
   FOOTER
========================================== */

.profile-footer {
    background: #080D18;
    border-top: 1px solid var(--border);
    padding: 25px 15px;
    text-align: center;
}

.profile-footer p {
    color: var(--text-muted);
    font-size: 13px;
}

.profile-footer a {
    color: var(--blue-light);
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
}

.profile-footer a:hover {
    color: white;
}


/* ==========================================
   FLOATING CONTACT BUTTONS
========================================== */

.floating-contact {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.floating-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: white;
    box-shadow: 0 5px 18px rgba(0,0,0,0.4);
    transition: 0.3s;
}

.floating-btn:hover {
    transform: scale(1.12);
}

.floating-call {
    background: linear-gradient(135deg, #2563EB, #60A5FA);
}

.floating-whatsapp {
    background: linear-gradient(135deg, #128C7E, #25D366);
}


/* ==========================================
   RESPONSIVE DESIGN - TABLETS
========================================== */

@media (max-width: 768px) {

    .profile-page {
        padding: 30px 12px;
    }

    .profile-container {
        padding: 25px 18px;
    }

    .profile-heading h1 {
        font-size: 30px;
    }

    .slider {
        height: 400px;
    }

    .profile-details {
        grid-template-columns: 1fr;
    }

    .detail-box {
        padding: 14px;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-btn {
        width: 100%;
        max-width: 350px;
    }

}


/* ==========================================
   RESPONSIVE DESIGN - MOBILE
========================================== */

@media (max-width: 480px) {

    .profile-header {
        padding: 15px;
    }

    .logo {
        font-size: 20px;
    }

    .back-home {
        font-size: 12px;
    }

    .profile-page {
        padding: 20px 10px;
    }

    .profile-container {
        padding: 20px 13px;
        border-radius: 15px;
    }

    .profile-heading h1 {
        font-size: 26px;
    }

    .profile-subtitle {
        font-size: 13px;
    }

    .small-heading {
        font-size: 10px;
    }

    .gallery-frame {
        padding: 9px;
    }

    .slider {
        height: 350px;
    }

    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .profile-description {
        padding: 17px;
    }

    .profile-description p {
        font-size: 14px;
    }

    .section-title h2,
    .contact-heading h2 {
        font-size: 21px;
    }

    .contact-section {
        padding: 25px 15px;
    }

    .floating-contact {
        right: 12px;
        bottom: 15px;
    }

    .floating-btn {
        width: 48px;
        height: 48px;
    }

}


/* ==========================================
   REDUCED MOTION ACCESSIBILITY
========================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

}



/* =========================================
   SIDE-BY-SIDE PROFILE LAYOUT
========================================= */

.profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: 35px;
    width: 100%;
}

/* LEFT COLUMN */

.profile-left {
    width: 100%;
    min-width: 0;
    position: sticky;
    top: 25px;
}

.gallery-frame {
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    background: #151F33;
    border: 1px solid rgba(96, 165, 250, 0.3);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
}

.gallery-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 18px;
    color: #60A5FA;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.gallery-indicator {
    color: #B8C4D6;
}

.slider {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    background: #0B1120;
}

.slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0.7s ease;
    overflow: hidden;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
}

.slide:hover img {
    transform: scale(1.06);
    filter: brightness(0.85);
}

/* SLIDER ARROWS */

.slider-btn {
    position: absolute;
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    background: rgba(11,17,32,0.75);
    color: #FFFFFF;
    cursor: pointer;
    font-size: 18px;
    transition: 0.3s ease;
}

.slider-btn:hover {
    background: #2563EB;
    box-shadow: 0 0 15px rgba(37,99,235,0.7);
}

.slider-btn.prev {
    left: 15px;
}

.slider-btn.next {
    right: 15px;
}

/* SLIDER DOTS */

.slider-dots {
    position: absolute;
    z-index: 4;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 9px;
}

.dot {
    width: 9px;
    height: 9px;
    border: none;
    border-radius: 50%;
    padding: 0;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: 0.3s ease;
}

.dot.active {
    width: 25px;
    border-radius: 10px;
    background: #60A5FA;
}

/* GALLERY CAPTION */

.gallery-caption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 18px;
    color: #F8FAFC;
    font-weight: 700;
}

.caption-decoration {
    color: #60A5FA;
}

/* RIGHT COLUMN */

.profile-right {
    width: 100%;
    min-width: 0;
}

.profile-heading {
    margin-bottom: 25px;
}

.small-heading {
    color: #60A5FA;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.profile-heading h1 {
    color: #F8FAFC;
    font-size: clamp(27px, 3vw, 38px);
    font-weight: 800;
    margin: 10px 0;
}

.heading-line {
    width: 75px;
    height: 4px;
    background: linear-gradient(90deg, #2563EB, #60A5FA);
    border-radius: 5px;
    margin: 15px 0;
}

.profile-subtitle {
    color: #B8C4D6;
    line-height: 1.7;
    font-size: 14px;
}

/* ABOUT SECTION */

.profile-information {
    padding: 22px;
    margin-bottom: 22px;
    background: #151F33;
    border: 1px solid rgba(96,165,250,0.2);
    border-radius: 13px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.section-title span,
.contact-heading > span {
    color: #60A5FA;
    font-size: 14px;
    font-weight: 800;
}

.section-title h2,
.contact-heading h2 {
    color: #F8FAFC;
    font-size: 19px;
    margin: 0;
}

.profile-description p {
    color: #B8C4D6;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.profile-description p:last-child {
    margin-bottom: 0;
}

/* DETAILS */

.profile-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 22px;
}

.detail-box {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 14px 10px;
    background: #151F33;
    border: 1px solid rgba(96,165,250,0.2);
    border-radius: 10px;
    min-width: 0;
}

.detail-icon {
    color: #60A5FA;
    font-size: 21px;
}

.detail-box h3 {
    color: #F8FAFC;
    font-size: 12px;
    margin: 0 0 5px;
}

.detail-box p {
    color: #B8C4D6;
    font-size: 10px;
    margin: 0;
}

/* CONTACT SECTION */

.contact-section {
    padding: 22px;
    background: #151F33;
    border: 1px solid rgba(96,165,250,0.25);
    border-radius: 13px;
}

.contact-heading h2 {
    margin: 8px 0;
}

.contact-heading p {
    color: #B8C4D6;
    font-size: 13px;
    line-height: 1.6;
}

.contact-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 10px;
    border-radius: 9px;
    color: #FFFFFF !important;
    text-decoration: none;
    transition: 0.3s ease;
}

.contact-btn strong {
    display: block;
    font-size: 14px;
}

.contact-btn small {
    display: block;
    font-size: 10px;
    margin-top: 3px;
}

.btn-icon {
    font-size: 23px;
}

.call-btn {
    background: linear-gradient(135deg, #2563EB, #3B82F6);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #15803D, #22C55E);
}

.contact-btn:hover {
    transform: translateY(-4px);
    filter: brightness(1.12);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* BOTTOM BUTTON */

.gallery-bottom {
    margin-top: 30px;
    text-align: center;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .profile-layout {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
        gap: 20px;
    }

    .slider {
        height: 430px;
    }

    .profile-details {
        grid-template-columns: 1fr;
    }

}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {

    .profile-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .profile-left {
        position: relative;
        top: auto;
    }

    .slider {
        height: 420px;
    }

    .profile-heading h1 {
        font-size: 28px;
    }

    .profile-details {
        grid-template-columns: 1fr;
    }

    .detail-box {
        padding: 15px;
    }

    .contact-buttons {
        grid-template-columns: 1fr;
    }

    .profile-information,
    .contact-section {
        padding: 18px;
    }

}

/* SMALL MOBILE */

@media (max-width: 380px) {

    .slider {
        height: 340px;
    }

    .gallery-top {
        padding: 12px;
        font-size: 11px;
    }

}


/* PROFILE PHOTO WIDTH ADJUSTMENT */

.slide img {
    width: 75%;
    height: 100%;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
    transition: transform 0.6s ease, filter 0.6s ease;
}

.slide.active:hover img {
    transform: scale(1.04);
    filter: brightness(1.08);
}