/*======================================================
        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:#FFD54F;
    --gold-dark:#FFB300;

    --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
======================================================*/

.header{

    position:sticky;

    top:0;

    z-index:999;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:14px 8%;

    box-shadow:
        0 10px 30px rgba(0,0,0,.12);

}


/*======================================================
                TEXT BRANDING
======================================================*/

.logo{

    display:flex;

    align-items:center;

    text-decoration:none;

}

.logo-text{

    display:flex;

    flex-direction:column;

    line-height:1.2;

}

.brand-title{

    font-size:28px;

    font-weight:800;

    color:#ffffff;

    letter-spacing:.5px;

    transition:.3s;

}

.brand-tagline{

    margin-top:5px;

    font-size:12px;

    color:#FFD54F;

    font-weight:500;

    letter-spacing:.8px;

}

.logo:hover .brand-title{
    color:#FFD54F;
}

.logo:hover .brand-tagline{
    color:#ffffff;
}


/*======================================================
                PREMIUM NAVBAR
======================================================*/

nav{
    display:flex;
    align-items:center;
}

.nav-links{

    display:flex;

    align-items:center;

    gap:30px;

    margin:0;

    padding:0;

}

.nav-links li{
    list-style:none;
}

.nav-links a{

    position:relative;

    display:flex;

    align-items:center;

    gap:8px;

    padding:10px 18px;

    color:#fff;

    font-size:15px;

    font-weight:600;

    letter-spacing:.3px;

    border-radius:20px;

    transition:.35s ease;

}

.nav-links a i{

    color:#FFD54F;

    font-size:15px;

}

.nav-links a:hover{

    color:#FFD54F;

    background:rgba(255,255,255,.10);

    backdrop-filter:blur(12px);

    -webkit-backdrop-filter:blur(12px);

    box-shadow:
        0 8px 20px rgba(0,0,0,.12);

}

.nav-links a.active{

    color:#FFD54F;

    background:rgba(255,255,255,.12);

    backdrop-filter:blur(12px);

}


/*======================================================
                    GOLD LINE
======================================================*/

.nav-links a::after{

    content:"";

    position:absolute;

    left:50%;

    bottom:2px;

    transform:translateX(-50%);

    width:0;

    height:3px;

    border-radius:20px;

    background:#FFD54F;

    transition:.35s ease;

}

.nav-links a:hover::after,
.nav-links a.active::after{

    width:60px;

}


/*======================================================
                    RESPONSIVE
======================================================*/

@media(max-width:1200px){

    .header{

        padding-left:3%;

        padding-right:3%;

    }

    .brand-title{

        font-size:22px;

    }

    .brand-tagline{

        font-size:9px;

    }

    .nav-links a{

        padding:9px 10px;

        font-size:13px;

    }

}


@media(max-width:992px){

    .desktop-menu{
        display:none;
    }

}


@media(max-width:768px){

    .header{

        min-height:78px;

        padding:12px 20px;

    }

    .brand-title{

        font-size:19px;

    }

    .brand-tagline{

        font-size:8px;

        letter-spacing:.4px;

        white-space:normal;

        max-width:220px;

    }

}/*======================================================
                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
        );

}


/*======================================================
                DECORATIVE GLOW
======================================================*/

.appointment-hero::before{

    content:"";

    position:absolute;

    width:500px;

    height:500px;

    top:-230px;

    right:-160px;

    border-radius:50%;

    background:
        rgba(255,213,79,.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,213,79,.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,213,79,.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,213,79,.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:#FFD54F;

    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:#FFD54F;

    transform:translateX(8px);

}


/*=========================================
            CONTACT
=========================================*/

.footer-box p i{

    color:#FFD54F;

    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:#FFD54F;

    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:#FFD54F;

}


/*=========================================
            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:#FFD54F;

    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:#FFD54F;
    font-size:16px;
    transition:.3s ease;
}

.contact-item:hover i{
    background:#FFD54F;
    color:#083E3F;
    transform:scale(1.08);
}

.contact-item a{
    color:white;
    text-decoration:none;
}

.contact-item a:hover{
    color:#FFD54F;
}
.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;
}
