/*======================================================
        H.M. PREMATHILAKA
        PREMIUM APPOINTMENT PAGE CSS
        PART 1
======================================================*/


/*======================================================
                    RESET
======================================================*/

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#ffffff;
    color:#222;
    overflow-x:hidden;
}

:root{

    --primary:#0F8B8D;
    --primary-dark:#075d60;
    --secondary:#18A0A3;

    --gold:#ff4b52;
    --gold-dark:#d71920;

    --white:#ffffff;

    --dark:#083E3F;

    --text:#444;

    --light:#f7fbfb;

    --shadow:
        0 15px 40px rgba(0,0,0,.12);
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}


/* =====================================================
   HEADER / NAVBAR
   ===================================================== */

.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:15px 6%;
    background:rgba(8,62,63,.92);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    border-bottom:1px solid rgba(255,255,255,.10);
    z-index:9999;
}


/* =====================================================
   BRAND
   ===================================================== */

.logo-text{
    display:flex;
    flex-direction:column;
    line-height:1.2;
}

.brand-title{
    font-size:29px;
    font-weight:800;
    color:#ffffff !important;
    letter-spacing:.5px;
    text-shadow:0 2px 5px rgba(0,0,0,.35);
    transition:color .3s ease;
}

.brand-tagline{
    margin-top:5px;
    font-size:12px;
    font-weight:600;
    color:#d71920 !important;
    letter-spacing:.8px;
    text-shadow:0 1px 3px rgba(0,0,0,.3);
    transition:color .3s ease;
}

.logo:hover .brand-title{
    color:#d71920 !important;
}

.logo:hover .brand-tagline{
    color:#ffffff !important;
}

.logo:active .brand-title{
    color:#d71920 !important;
}

.logo:active .brand-tagline{
    color:#ffffff !important;
}

.logo:focus .brand-title{
    color:#d71920 !important;
}

.logo:focus .brand-tagline{
    color:#ffffff !important;
}


/* =====================================================
   DESKTOP NAVIGATION
   ===================================================== */

.desktop-menu{
    display:flex;
    align-items:center;
    margin-left:auto;
}

nav{
    display:flex;
    align-items:center;
}

.nav-links{
    display:flex;
    align-items:center;
    gap:26px;
    margin:0;
    padding:0;
    list-style:none;
}

.nav-links a{
    position:relative;
    display:flex;
    align-items:center;
    gap:8px;
    padding:10px 10px;
    color:#ffffff;
    font-size:16px;
    font-weight:700;
    letter-spacing:.4px;
    border-radius:10px;
    text-shadow:0 1px 3px rgba(0,0,0,.35);
    transition:
        color .35s ease,
        background .35s ease,
        transform .35s ease;
}

.nav-links a i{
    color:#d71920;
    font-size:16px;
    opacity:1;
    text-shadow:0 1px 3px rgba(0,0,0,.3);
    transition:.35s ease;
}

.nav-links a::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:2px;
    transform:translateX(-50%);
    width:0;
    height:2px;
    background:#e5232a;
    border-radius:10px;
    transition:width .3s ease;
}

.nav-links a:hover::after{
    width:65%;
}

.nav-links a.active::after{
    width:65%;
}

.nav-links a:hover{
    color:#ffffff;
    background:rgba(255,255,255,.10);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    transform:translateY(-2px);
    box-shadow:0 7px 18px rgba(0,0,0,.14);
}

.nav-links a:hover i{
    color:#ffffff;
}

.nav-links a.active{
    color:#ffffff;
    background:rgba(215,25,32,.18);
    border:1px solid rgba(255,75,82,.25);
}


/* =====================================================
   LANGUAGE SWITCHER
   ===================================================== */

.language-switcher{
    display:flex;
    align-items:center;
    gap:10px;
    margin-left:35px;
    margin-right:35px;
    flex-shrink:0;
}

.language-switcher a{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:42px;
    overflow:hidden;
    color:#ffffff;
    font-size:13px;
    font-weight:700;
    padding:8px 13px;
    border-radius:30px;
    border:1px solid rgba(255,255,255,.20);
    background:rgba(255,255,255,.10);
    backdrop-filter:blur(15px);
    -webkit-backdrop-filter:blur(15px);
    text-shadow:0 1px 3px rgba(0,0,0,.35);
    transition:
        background .35s ease,
        color .35s ease,
        transform .35s ease,
        border-color .35s ease;
}

.language-switcher a::before{
    content:"";
    position:absolute;
    top:0;
    left:-120%;
    width:60%;
    height:100%;
    background:linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.40),
        transparent
    );
    transform:skewX(-25deg);
    transition:.8s;
}

.language-switcher a:hover::before{
    left:180%;
}

.language-switcher a:hover{
    background:#d71920;
    border-color:#d71920;
    color:#ffffff;
    transform:translateY(-2px) scale(1.04);
}

.language-switcher a.active-lang{
    background:#d71920;
    border-color:#d71920;
    color:#ffffff;
    font-weight:800;
    box-shadow:0 5px 16px rgba(215,25,32,.30);
}


/* =====================================================
   MENU TOGGLE
   ===================================================== */

.menu-toggle{
    display:none;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    font-size:24px;
    color:#ffffff;
    cursor:pointer;
    border-radius:10px;
    text-decoration:none;
    border:1px solid rgba(255,255,255,.15);
    background:rgba(255,255,255,.06);
    transition:.3s ease;
}

.menu-toggle:hover{
    background:rgba(215,25,32,.25);
    border-color:#d71920;
    transform:scale(1.05);
}


/*======================================================
                APPOINTMENT HERO
                PART 2
======================================================*/

.appointment-hero{

    position:relative;

    min-height:600px;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:100px 8%;

    text-align:center;

    color:#fff;

    overflow:hidden;

    background:
        linear-gradient(
            135deg,
            #083E3F,
            #0F8B8D,
            #18A0A3
        );

    url("images/appointment-hero.jpg") center center / cover no-repeat;

}}

/*======================================================
                DECORATIVE GLOW
======================================================*/

.appointment-hero::before{

    content:"";

    position:absolute;

    width:500px;

    height:500px;

    top:-230px;

    right:-160px;

    border-radius:50%;

    background:
        rgba(255,75,82,.10);

    filter:blur(5px);

}

.appointment-hero::after{

    content:"";

    position:absolute;

    width:420px;

    height:420px;

    bottom:-220px;

    left:-150px;

    border-radius:50%;

    background:
        rgba(255,255,255,.07);

    filter:blur(5px);

}


/*======================================================
                    HERO OVERLAY
======================================================*/

.appointment-hero .hero-overlay{

    position:absolute;

    inset:0;

    background:
        linear-gradient(
            135deg,
            rgba(8,62,63,.30),
            rgba(15,139,141,.12)
        );

}


/*======================================================
                    HERO CONTENT
======================================================*/

.appointment-hero .hero-content{

    position:relative;

    z-index:2;

    max-width:950px;

    margin:auto;

}


/*======================================================
                    HERO TAG
======================================================*/

.appointment-hero .hero-tag{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:11px 22px;

    margin-bottom:25px;

    color:var(--dark);

    background:
        linear-gradient(
            135deg,
            var(--gold),
            var(--gold-dark)
        );

    border-radius:40px;

    font-size:14px;

    font-weight:700;

    box-shadow:
        0 12px 30px rgba(0,0,0,.18);

}

.appointment-hero .hero-tag i{

    font-size:16px;

}


/*======================================================
                    HERO HEADING
======================================================*/

.appointment-hero .hero-content h1{

    margin-bottom:15px;

    color:#fff;

    font-size:64px;

    font-weight:800;

    line-height:1.15;

    text-shadow:
        0 8px 25px rgba(0,0,0,.18);

}

.appointment-hero .hero-content h1 span{

    display:block;

    margin-top:8px;

    color:var(--gold);

}


/*======================================================
                    HERO SUBTITLE
======================================================*/

.appointment-hero .hero-subtitle{

    color:#fff;

    font-size:22px;

    font-weight:600;

    letter-spacing:1px;

}


/*======================================================
                    HERO LINE
======================================================*/

.appointment-hero .hero-line{

    width:100px;

    height:5px;

    margin:25px auto;

    border-radius:50px;

    background:
        linear-gradient(
            90deg,
            var(--gold),
            var(--gold-dark)
        );

    box-shadow:
        0 0 15px rgba(255,75,82,.35);

}


/*======================================================
                HERO DESCRIPTION
======================================================*/

.appointment-hero .hero-description{

    max-width:780px;

    margin:0 auto;

    color:rgba(255,255,255,.90);

    font-size:17px;

    line-height:1.9;

}


/*======================================================
            FULL DESKTOP HERO
======================================================*/

@media(min-width:993px){

    .appointment-hero{

        min-height:calc(110vh - 92px);

        height:calc(100vh - 92px);

        padding:60px 8%;

        display:flex;

        align-items:center;

        justify-content:center;

    }

    .appointment-hero .hero-content{

        width:100%;

        max-width:950px;

        margin:auto;

        transform:translateY(-10px);

    }

    .appointment-hero .hero-content h1{

        font-size:64px;

        margin-bottom:14px;

    }

}


/*======================================================
                    RESPONSIVE
======================================================*/

@media(max-width:992px){

    .appointment-hero{

        min-height:540px;

        height:auto;

        padding:90px 25px;

    }

    .appointment-hero .hero-content h1{

        font-size:52px;

    }

}


@media(max-width:768px){

    .appointment-hero{

        min-height:500px;

        padding:80px 20px;

    }

    .appointment-hero .hero-content h1{

        font-size:38px;

    }

    .appointment-hero .hero-subtitle{

        font-size:18px;

    }

    .appointment-hero .hero-description{

        font-size:15px;

        line-height:1.8;

    }

}/*======================================================
                APPOINTMENT MAIN
                PART 3
======================================================*/

.appointment-main{

    width:100%;

    padding:120px 8%;

    background:
        linear-gradient(
            180deg,
            #f7fbfb,
            #ffffff
        );

}

.appointment-main .container{

    width:min(1300px,92%);

    margin:auto;

}


/*======================================================
                    SECTION TITLE
======================================================*/

.appointment-main .section-title{

    text-align:center;

    margin-bottom:65px;

}

.appointment-main .section-title span{

    display:inline-block;

    color:var(--primary);

    font-size:14px;

    font-weight:700;

    letter-spacing:2px;

    text-transform:uppercase;

    margin-bottom:10px;

}

.appointment-main .section-title h2{

    color:var(--dark);

    font-size:44px;

    font-weight:800;

    line-height:1.25;

}

.appointment-main .title-line{

    width:100px;

    height:5px;

    margin:18px auto 0;

    border-radius:50px;

    background:
        linear-gradient(
            90deg,
            var(--gold),
            var(--gold-dark)
        );

}


/*======================================================
                APPOINTMENT GRID
======================================================*/

.appointment-grid{

    display:grid;

    grid-template-columns:
        .9fr 1.1fr;

    gap:45px;

    align-items:start;

}


/*======================================================
                INFORMATION CARDS
======================================================*/

.appointment-info{

    display:flex;

    flex-direction:column;

    gap:20px;

}

.info-card{

    position:relative;

    padding:32px;

    background:#ffffff;

    border-radius:24px;

    border:1px solid
        rgba(15,139,141,.10);

    box-shadow:
        0 18px 45px rgba(0,0,0,.08);

    transition:.4s ease;

}

.info-card:hover{

    transform:
        translateY(-7px);

    border-color:
        rgba(255,75,82,.55);

    box-shadow:
        0 26px 55px rgba(0,0,0,.12);

}


/*======================================================
                    INFO ICON
======================================================*/

.info-icon{

    width:68px;

    height:68px;

    display:flex;

    align-items:center;

    justify-content:center;

    margin-bottom:20px;

    border-radius:50%;

    color:var(--gold);

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );

    border:4px solid
        rgba(255,75,82,.35);

    font-size:27px;

    box-shadow:
        0 10px 25px
        rgba(15,139,141,.18);

    transition:.35s ease;

}

.info-card:hover .info-icon{

    background:
        linear-gradient(
            135deg,
            var(--gold),
            var(--gold-dark)
        );

    color:var(--dark);

    transform:
        rotate(5deg)
        scale(1.06);

}


/*======================================================
                INFO TITLE
======================================================*/

.info-card h3{

    margin-bottom:10px;

    color:var(--primary);

    font-size:23px;

    font-weight:700;

}

.info-card p{

    color:#666;

    font-size:15px;

    line-height:1.85;

}


/*======================================================
                FORM BOX
======================================================*/

.appointment-form-box{

    padding:42px;

    border-radius:28px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f7fbfb
        );

    border:1px solid
        rgba(15,139,141,.10);

    box-shadow:
        0 20px 50px rgba(0,0,0,.09);

}


/*======================================================
                FORM HEADING
======================================================*/

.form-heading{

    margin-bottom:30px;

}

.form-heading > span{

    display:inline-block;

    margin-bottom:9px;

    color:var(--primary);

    font-size:13px;

    font-weight:700;

    letter-spacing:2px;

    text-transform:uppercase;

}

.form-heading h2{

    margin-bottom:10px;

    color:var(--dark);

    font-size:32px;

    font-weight:800;

    line-height:1.3;

}

.form-heading p{

    color:#666;

    font-size:14px;

    line-height:1.8;

}


/*======================================================
                    FORM ROW
======================================================*/

.form-row{

    display:grid;

    grid-template-columns:
        1fr 1fr;

    gap:18px;

}


/*======================================================
                    FORM GROUP
======================================================*/

.form-group{

    margin-bottom:20px;

}

.form-group label{

    display:block;

    margin-bottom:8px;

    color:var(--dark);

    font-size:13px;

    font-weight:600;

}

.form-group input,
.form-group select,
.form-group textarea{

    width:100%;

    padding:14px 16px;

    border:1px solid
        rgba(15,139,141,.15);

    border-radius:13px;

    outline:none;

    background:#fff;

    color:#333;

    font-family:'Poppins',sans-serif;

    font-size:14px;

    transition:.3s ease;

}

.form-group textarea{

    resize:vertical;

    min-height:135px;

}

.form-group input::placeholder,
.form-group textarea::placeholder{

    color:#aaa;

}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{

    border-color:var(--primary);

    box-shadow:
        0 0 0 4px
        rgba(15,139,141,.08);

}


/*======================================================
                SUBMIT BUTTON
======================================================*/

.appointment-submit-btn{

    width:100%;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    padding:16px 25px;

    border:none;

    border-radius:14px;

    cursor:pointer;

    color:#fff;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );

    font-family:'Poppins',sans-serif;

    font-size:15px;

    font-weight:700;

    box-shadow:
        0 12px 30px
        rgba(15,139,141,.18);

    transition:.35s ease;

}

.appointment-submit-btn:hover{

    transform:
        translateY(-5px);

    background:
        linear-gradient(
            135deg,
            var(--gold),
            var(--gold-dark)
        );

    color:var(--dark);

    box-shadow:
        0 18px 40px
        rgba(0,0,0,.16);

}


/*======================================================
                    RESPONSIVE
======================================================*/

@media(max-width:992px){

    .appointment-grid{

        grid-template-columns:1fr;

        gap:35px;

    }

}


@media(max-width:768px){

    .appointment-main{

        padding:85px 20px;

    }

    .appointment-main .container{

        width:100%;

    }

    .appointment-main .section-title{

        margin-bottom:45px;

    }

    .appointment-main .section-title h2{

        font-size:32px;

    }

    .info-card{

        padding:28px 24px;

    }

    .appointment-form-box{

        padding:28px 22px;

        border-radius:22px;

    }

    .form-heading h2{

        font-size:27px;

    }

    .form-row{

        grid-template-columns:1fr;

        gap:0;

    }

}/*=========================================
            PREMIUM FOOTER
=========================================*/

.premium-footer{

    width:100%;

    margin:0;

    padding:0;

    background:
    linear-gradient(
        135deg,
        #083E3F,
        #0F8B8D
    );

    color:#fff;

    position:relative;

    overflow:hidden;

}


/*=========================================
            FOOTER CONTENT
=========================================*/

.footer-content{

    width:100%;

    padding:50px 60px;

    display:grid;

    grid-template-columns:
        2fr 1fr 1fr 1.5fr;

    gap:50px;

}


/*=========================================
            FOOTER BRAND
=========================================*/

.footer-brand h3{

    color:#ff4b52;

    font-size:30px;

    font-weight:800;

    margin-bottom:10px;

    line-height:1.2;

}

.footer-brand p{

    color:rgba(255,255,255,.85);

    line-height:1.9;

    margin-bottom:12px;

    font-size:15px;

    max-width:350px;

}


/*=========================================
            FOOTER BOX
=========================================*/

.footer-box h3,
.footer-box h4{

    margin-bottom:25px;

    color:#fff;

    text-shadow:
        0 0 15px rgba(255,255,255,.15);

}

.footer-box p{

    color:rgba(255,255,255,.85);

    line-height:1.9;

    margin-bottom:12px;

}

.footer-box a{

    display:block;

    color:#fff;

    text-decoration:none;

    margin-bottom:12px;

    transition:.3s ease;

}

.footer-box a:hover{

    color:#ff4b52;

    transform:translateX(8px);

}


/*=========================================
            CONTACT
=========================================*/

.footer-box p i{

    color:#ff4b52;

    margin-right:10px;

}

.footer-box p a{

    display:inline;

    margin:0;

}


/*=========================================
            SOCIAL
=========================================*/

.footer-social{

    display:flex;

    gap:12px;

    margin-top:20px;

}

.footer-social a{

    width:45px;

    height:45px;

    display:flex;

    align-items:center;

    justify-content:center;

    margin:0;

    border-radius:12px;

    background:rgba(255,255,255,.10);

    color:#fff;

    transition:.3s ease;

}

.footer-social a:hover{

    background:#ff4b52;

    color:#083E3F;

    transform:
        translateY(-5px)
        scale(1.05);

}


/*=========================================
            FOOTER BOTTOM
=========================================*/

.footer-bottom{

    grid-column:1 / -1;

    width:100%;

    margin-top:20px;

    padding:25px 20px;

    border-top:
        1px solid rgba(255,255,255,.15);

    text-align:center;

    color:#fff;

    font-weight:600;

    line-height:1.7;

}

.footer-bottom strong{

    color:#ff4b52;

}


/*=========================================
            MOBILE
=========================================*/

@media(max-width:768px){

    .footer-content{

        grid-template-columns:1fr;

        text-align:center;

        padding:50px 25px;

        gap:30px;

    }

    .footer-brand p{

        margin-left:auto;

        margin-right:auto;

    }

    .footer-social{

        justify-content:center;

    }

    .footer-box a:hover{

        transform:none;

    }

}.contact-section{
    display:grid !important;
    grid-template-columns:1.6fr 1fr !important;
    gap:30px !important;
}

.contact-form-box{
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;

    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.15);
    padding:40px;
    border-radius:25px;

    min-height:600px;
}

.info-top{
    grid-area:info1;
}

.info-bottom{
    grid-area:info2;
}
.footer-social{
    display:flex;
    gap:15px;
    margin-top:20px;

    justify-content:flex-start;
    align-items:center;
}
.footer-social a{

    width:48px;
    height:48px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:14px;

    background:rgba(255,255,255,.08);

    color:white;

    text-decoration:none;

    transition:.35s ease;

    backdrop-filter:blur(10px);
}

.footer-social a:hover{

    transform:
        translateY(-5px)
        scale(1.08);
color:#083E3F;
    background:#ff4b52;

    box-shadow:
        0 0 20px rgba(37,211,102,.4);
}.footer-social a:nth-child(1):hover{
    background:#1877F2;
}

.footer-social a:nth-child(2):hover{
    background:#0A66C2;
}

.footer-social a:nth-child(3):hover{
    background:#25D366;
}
.footer-box p{
    display:flex;
    align-items:center;
    gap:10px;
}
.contact-item{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:18px;
    color:white;
    font-size:16px;
    font-weight:500;
}

.contact-item i{
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    background:rgba(255,255,255,.08);
    color:#ff4b52;
    font-size:16px;
    transition:.3s ease;
}

.contact-item:hover i{
    background:#ff4b52;
    color:#083E3F;
    transform:scale(1.08);
}

.contact-item a{
    color:white;
    text-decoration:none;
}

.contact-item a:hover{
    color:#ff4b52;
}
.footer-bottom{
    width:100% !important;
    display:block !important;

    text-align:center !important;

    margin-top:40px !important;

    padding-top:25px !important;

    border-top:1px solid rgba(255,255,255,.15) !important;

    color:white !important;
}

.footer-bottom p{
    text-align:center !important;
}.footer-content{
    width:100%;
    max-width:none;
    margin:0;
    padding:70px 40px;

    display:grid;
    grid-template-columns:2fr 1fr 1fr 1.5fr;
    gap:50px;
}

.footer-bottom{
    grid-column:1 / -1 !important;

    width:100% !important;

    text-align:center !important;

    margin-top:30px !important;
}.footer-content{
    padding:50px 60px;
}

.footer-box h3,
.footer-box h4{
    margin-bottom:25px;
}

.footer-bottom{
    margin-top:20px;
    opacity:.9;
}
/* ===================================================== 
   1366x768 LAPTOP - FINAL COMPACT FIX 
   ===================================================== */ 
 
@media (min-width: 1200px) and (max-width: 1440px) { 
 
    html { 
        zoom: 0.84; 
    } 
 
    body { 
        width: 100%; 
        overflow-x: hidden; 
    } 
 
    @media (min-width:1200px) and (max-width:1440px) {

    .hero {
        min-height: calc(100vh - 90px) !important;
        box-sizing: border-box !important;
        padding-top: 25px !important;
        padding-bottom: 35px !important;
    }

}
    /* NAVBAR ONLY */
    .header {
        zoom: 1;
    }

    .brand-title {
    font-size: 20px !important;
    white-space: nowrap !important;
    display: inline-block !important;
}

    .brand-tagline {
        font-size: 9px !important;
        line-height: 1.2 !important;
    }

}.language-switcher {
    margin-right: 15px !important;
}

.desktop-menu {
    margin-left: 15px !important;
}.hero-buttons {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
}

.hero-buttons a {
    white-space: nowrap !important;
}.nav-links a {
    white-space: nowrap !important;
}

.nav-links li {
    white-space: nowrap !important;
}
@media (min-width:1200px) and (max-width:1440px){

    .appointment-hero{
        min-height:calc(122vh - 90px) !important;
        height:calc(122vh - 90px) !important;
        box-sizing:border-box !important;

        display:flex !important;
        align-items:center !important;
        justify-content:center !important;
    }

}.appointment-hero{
    position:relative;
    width:100%;
    min-height:100vh;

    display:flex;
    align-items:center;
    justify-content:center;

    background:
        linear-gradient(
            90deg,
            rgba(8,62,63,.72),
            rgba(8,62,63,.38),
            rgba(8,62,63,.15)
        ),
        url("images/appointment-hero.jpg")
        center center / cover no-repeat;

    overflow:hidden;
}

