/* =========================================================
   OSMENA COLLEGES - MAIN SHARED STYLESHEET
   FILE: assets/css/oc-main-style.css
========================================================= */

:root{
    --oc-maroon:#650014;
    --oc-dark:#280008;
    --oc-red:#990018;
    --oc-gold:#f4c400;
    --oc-light:#fff8e6;
    --oc-text:#1f2937;
}

/* =========================================================
   GLOBAL
========================================================= */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:
        "Inter",
        "Helvetica Neue",
        Arial,
        sans-serif;

    background:#ffffff;
    color:var(--oc-text);

    font-size:15px;
    font-weight:400;
    line-height:1.8;

    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
}

a{
    text-decoration:none;
    transition:.2s ease;
}

img{
    max-width:100%;
}

/* =========================================================
   TOP STRIP
========================================================= */

.top-strip{
    background:var(--oc-dark);
    color:#fff;
    font-size:14px;
    padding:8px 0;
}

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

.main-header{
    background:linear-gradient(135deg,var(--oc-maroon),#9b001b);
    color:#fff;
    padding:14px 0;
}

.header-wrapper{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    width:100%;
}

.header-left{
    display:flex;
    align-items:center;
    gap:20px;
    margin-left:10px;
}

.header-right{
    text-align:right;
    margin-right:10px;
    min-width:260px;
}

.brand-text{
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-width:0;
}

.oc-logo{
    width:78px;
    height:78px;
    object-fit:contain;
    background:#fff;
    border-radius:50%;
    padding:2px;
    box-shadow:0 6px 14px rgba(0,0,0,.25);
}

.brand-title{
    font-size:38px;
    letter-spacing:1px;
    margin:0;
    font-weight:600;
    line-height:1;
}

.brand-tagline{
    color:var(--oc-gold);
    font-size:14px;
    margin-top:10px;
    font-weight:500;
}

.clock-text{
    font-size:25px;
    font-weight:600;
    line-height:1;
    letter-spacing:1px;
}

.date-text{
    margin-top:8px;
    font-size:14px;
    opacity:.95;
}

/* =========================================================
   DEVELOPMENT NOTICE
========================================================= */

.development-notice{
    background:linear-gradient(135deg,#fff3cd,#ffe08a);
    color:#7a4b00;
    font-size:14px;
    font-weight:600;
    padding:10px 0;
    border-top:1px solid rgba(0,0,0,.08);
    border-bottom:1px solid rgba(0,0,0,.08);
    box-shadow:0 2px 8px rgba(0,0,0,.05);
    position:relative;
    z-index:998;
}

.development-notice i{
    color:#c27c00;
}

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

.navbar{
    background:var(--oc-gold);
    box-shadow:
        0 6px 18px rgba(0,0,0,.25),
        0 2px 6px rgba(0,0,0,.15);

    z-index:999;
}

.navbar .nav-link{
    color:#4b000b;
    font-weight:500;
    padding:10px 12px;
    font-size:13px;
}

.navbar .nav-link:hover,
.navbar .nav-link.active{
    background:var(--oc-maroon);
    color:#fff;
}

.dropdown-menu{
    border-radius:0;
    border:0;
    box-shadow:0 12px 25px rgba(0,0,0,.18);
}

.dropdown-item{
    padding:10px 16px;
    color:var(--oc-maroon);
    font-size:13px;
    font-weight:500;
}

.dropdown-item:hover{
    background:#fff5d4;
}

/* =========================================================
   HERO SLIDER
========================================================= */

.hero-slide{
    height:550px;
    background:#111;
}

.hero-slide img{
    width:100%;
    height:550px;
    object-fit:cover;
    filter:brightness(.80);
}

.carousel-caption{
    bottom:80px;
    text-align:left;
}

.carousel-caption h1{
    font-size:54px;
    font-weight:800;
    text-shadow:0 4px 12px rgba(0,0,0,.7);
}

.carousel-caption p{
    font-size:20px;
    max-width:720px;
}

/* =========================================================
   BUTTONS
========================================================= */

.btn-oc{
    background:var(--oc-gold);
    color:#4b000b;
    border:0;
    font-weight:700;
    padding:12px 22px;
    border-radius:50px;
}

.btn-oc:hover{
    background:#ffcf10;
    color:#320008;
}

.btn-outline-oc{
    border:2px solid #fff;
    color:#fff;
    font-weight:700;
    padding:12px 22px;
    border-radius:50px;
}

.btn-outline-oc:hover{
    background:#fff;
    color:var(--oc-maroon);
}

.hero-btn-group{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
}

/* =========================================================
   QUICK PANEL
========================================================= */

.quick-panel{
    margin-top:-70px;
    position:relative;
    z-index:5;
}

.quick-card{
    background:#fff;
    border-radius:18px;
    padding:25px;
    height:100%;
    box-shadow:0 14px 35px rgba(0,0,0,.14);
    border-top:6px solid var(--oc-maroon);
    transition:.25s;
}

.quick-card:hover{
    transform:translateY(-6px);
}

.quick-card i{
    color:var(--oc-maroon);
    font-size:34px;
    margin-bottom:15px;
}

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

.section-title{
    color:var(--oc-maroon);
    font-weight:600;
    position:relative;
    padding-bottom:12px;
    margin-bottom:28px;
}

.section-title::after{
    content:"";
    width:90px;
    height:4px;
    background:var(--oc-gold);
    position:absolute;
    left:0;
    bottom:0;
}

/* =========================================================
   NEWS CARD
========================================================= */

.news-card{
    border:0;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.1);
    height:100%;
}

.news-card img{
    height:210px;
    object-fit:cover;
}

.news-card .card-body{
    min-height:245px;
}

/* =========================================================
   PAGINATION
========================================================= */

.pagination .page-link{
    color:var(--oc-maroon);
    border-radius:50px;
    border:1px solid #ead7d7;
    font-weight:700;
}

.pagination .page-item.active .page-link{
    background:var(--oc-maroon);
    border-color:var(--oc-maroon);
    color:#fff;
}

/* =========================================================
   PORTAL BOX
========================================================= */

.portal-box{
    background:linear-gradient(135deg,var(--oc-maroon),#240008);
    color:#fff;
    border-radius:10px;
    padding:45px;
    overflow:hidden;
}

/* =========================================================
   PAGE HERO
========================================================= */

.page-hero{
    background:
        linear-gradient(rgba(40,0,8,.55), rgba(101,0,20,.60)),
        url("https://oc.edu.ph/assets/images/lbg.png");

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    padding:90px 0;
    color:#fff;
    text-align:center;

    position:relative;
    overflow:hidden;
}

.page-hero h1{
    font-size:46px;
    font-weight:800;
    margin-bottom:12px;
}

.page-hero p{
    font-size:18px;
    max-width:850px;
    margin:auto;
    color:#f7e9e9;
}

/* =========================================================
   VISION / MISSION
========================================================= */

.vm-section{
    background:#ffffff;
    padding:45px 0 70px;
}

.vm-document{
    max-width:980px;
    margin:0 auto;
    background:#fff;
    padding:10px 35px 40px;
    border-left:1px solid #eee;
    border-right:1px solid #eee;
}

.vm-logo{
    width:150px;
    height:150px;
    object-fit:contain;
    display:block;
    margin:0 auto 22px;
    opacity:.95;
}

.vm-heading{
    text-align:center;
    font-size:24px;
    font-weight:700;
    color:#111827;
    margin:25px 0;
}

.vm-text{
    font-size:18px;
    line-height:1.9;
    color:#111827;
    text-align:justify;
    margin-bottom:24px;
}

.vm-subtitle{
    font-weight:700;
    margin-top:22px;
    margin-bottom:12px;
}

.core-list{
    margin-left:35px;
    margin-bottom:24px;
}

.core-list li{
    margin-bottom:5px;
    font-size:15px;
}

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

.social-dock{
    position:fixed;
    right:0;
    bottom:22px;
    z-index:9999;
    display:flex;
    align-items:center;
    gap:10px;
    transition:transform .28s ease;
}







.social-dock.is-hidden{
    transform:translateX(62px);
}

.social-dock:not(.is-hidden) .dock-toggle i{
    transform:rotate(180deg);
}

.social-floating{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.social-floating a,
.social-floating button{
    width:52px;
    height:52px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:24px;
    box-shadow:0 8px 20px rgba(0,0,0,.3);
    text-decoration:none;
    border:0;
}

.dock-toggle{
    width:34px;
    height:58px;
    border:0;
    border-radius:18px 0 0 18px;
    background:#650014;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    box-shadow:0 8px 18px rgba(0,0,0,.25);
}


/* VERTICAL CONNECTOR LINE */

.social-dock::before{
    content:"";

    position:absolute;

    left:34px;
    top:50%;

    transform:translateY(-50%);

    width:2px;
    height:185px;

    border-radius:20px;

    background:linear-gradient(
        to bottom,
        transparent,
        rgba(0,0,0,.22),
        rgba(0,0,0,.22),
        transparent
    );

    box-shadow:0 0 6px rgba(0,0,0,.08);
}



.dock-toggle i{
    transition:.25s ease;
}

.fb{
    background:#1877f2;
}

.yt{
    background:#ff0000;
}

.chat-with-us{
    background:linear-gradient(135deg,var(--oc-maroon),#b40022);
    cursor:pointer;
    animation:chatPulse 1.8s infinite;
}

@keyframes chatPulse{
    0%{box-shadow:0 0 0 0 rgba(101,0,20,.55);}
    70%{box-shadow:0 0 0 14px rgba(101,0,20,0);}
    100%{box-shadow:0 0 0 0 rgba(101,0,20,0);}
}

/* =========================================================
   CONCERN OPTION
========================================================= */

.concern-option{
    border:1px solid #eee;
    border-radius:14px;
    padding:14px;
    cursor:pointer;
    transition:.2s;
    background:#fff;
    height:100%;
    font-weight:600;
}

.concern-option:hover,
.concern-option.active{
    border-color:var(--oc-maroon);
    background:#fff8e6;
    transform:translateY(-2px);
    box-shadow:0 8px 18px rgba(0,0,0,.08);
}

.concern-option i{
    color:var(--oc-maroon);
    font-size:22px;
    margin-right:8px;
}

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

.footer{
    background:#210006;
    color:#ddd;
    padding:45px 0 20px;
}

.footer h5{
    color:var(--oc-gold);
}

/* =========================================================
   MOBILE NAV BUTTONS
========================================================= */

.mobile-nav-actions{
    margin-left:auto;
    display:none;
    align-items:center;
    gap:10px;
    padding-right:2px;
}

.mobile-nav-btn{
    width:38px;
    height:38px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    font-size:15px;

    border:1px solid rgba(0,0,0,.10);

    box-shadow:
        inset 0 2px 4px rgba(255,255,255,.35),
        inset 0 -3px 6px rgba(0,0,0,.15),
        0 2px 5px rgba(0,0,0,.12);

    transition:.2s ease;
}

.mobile-nav-btn:hover{
    transform:translateY(-1px);
}

.mobile-nav-btn:active{
    transform:scale(.94);
}



.action-register{
    color:#757575;
}

.action-programs{
    color:#757575;
}

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

@media(max-width:768px){

    .top-strip .container{
        flex-direction:column;
        gap:5px;
    }

    .header-wrapper{
        justify-content:center;
        text-align:center;
    }

    .header-left{
        margin-left:0;
        gap:10px;
        flex-wrap:nowrap;
    }

    .brand-title{
        font-size:clamp(20px, 5vw, 28px);
        white-space:nowrap;
        line-height:1;
    }

    .brand-tagline{
        font-size:10px;
        margin-top:6px;
    }

    .oc-logo{
        width:58px;
        height:58px;
    }

    .hero-slide,
    .hero-slide img{
        height:550px;
    }

    .carousel-caption h1{
        font-size:34px;
    }

    .hero-btn-group{
        flex-direction:column;
        align-items:center;
    }

    .quick-panel{
        margin-top:20px;
    }

    .page-hero{
        padding:55px 0;
    }

    .page-hero h1{
        font-size:34px;
    }

    .vm-document{
        padding:10px 20px 35px;
        border:0;
    }

    .vm-logo{
        width:115px;
        height:115px;
    }

    .vm-heading{
        font-size:20px;
    }

    .vm-text{
        font-size:14px;
    }

    .portal-box .text-md-end{
        display:flex;
        flex-direction:column;
        align-items:center;
        gap:12px !important;
        margin-top:25px !important;
    }

    .portal-box .btn{
        width:220px;
        margin:0 !important;
    }



    .social-dock.is-hidden{
        transform:translateX(58px);
    }

    .social-floating a,
    .social-floating button{
        width:48px;
        height:48px;
        font-size:21px;
    }

    .dock-toggle{
        width:28px;
        height:54px;
    }

    .mobile-nav-actions{
        display:flex;
    }

    .desktop-hero-btn{
        display:none !important;
    }
    

}





/* =========================================================
   PRE-ENROLLMENT / FORM PAGE
========================================================= */

.president-section,
.form-section{
    padding:70px 0;
}

.president-card,
.form-card{
    background:#fff;
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.president-content,
.form-content{
    padding:50px;
}

.president-badge,
.form-badge{
    display:inline-block;
    background:var(--oc-light);
    color:var(--oc-maroon);
    font-weight:700;
    padding:10px 18px;
    border-radius:50px;
    margin-bottom:20px;
    border:1px solid #f2d58c;
}

.president-name,
.form-title{
    color:var(--oc-maroon);
    font-size:38px;
    font-weight:800;
    margin-bottom:6px;
}

.president-position,
.form-subtitle{
    color:#777;
    font-size:18px;
    margin-bottom:30px;
}

.form-section-title,
.section-title-form{
    color:var(--oc-maroon);
    font-weight:800;
    border-left:6px solid var(--oc-gold);
    padding-left:12px;
    margin-top:35px;
    margin-bottom:20px;
    font-size:22px;
}

.required{
    color:red;
}

.custom-input{
    min-height:54px;
    border-radius:14px;
    border:1px solid #ddd;
    background:#fffef8;
    font-size:14px;
}

.custom-input:focus{
    border-color:var(--oc-maroon);
    box-shadow:none;
}

.form-label{
    font-weight:500;
    color:#374151;
}

.form-check-label{
    font-size:14px;
    color:#374151;
}

@media(max-width:768px){
    .president-section,
    .form-section{
        padding:45px 0;
    }

    .president-content,
    .form-content{
        padding:30px;
    }

    .president-name,
    .form-title{
        font-size:30px;
    }

    .president-position,
    .form-subtitle{
        font-size:15px;
    }

    .form-section-title,
    .section-title-form{
        font-size:18px;
    }
}



/* =========================================================
   PROGRAMS PAGE
========================================================= */

.program-section{
    padding:60px 0;
    background:#fff;
}

.program-card{
    background:#fff;
    border-radius:26px;
    padding:25px;
    box-shadow:0 12px 35px rgba(0,0,0,.08);
}

.program-img{
    width:100%;
    height:auto;
    display:block;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.15);
    background:#fff;
}

.program-link{
    display:block;
    text-decoration:none;
    transition:.25s ease;
}

.program-link:hover{
    transform:translateY(-8px);
}

.program-img-btn{
    width:100%;
    height:auto;
    display:block;
    border-radius:22px;
    box-shadow:0 12px 30px rgba(0,0,0,.14);
    border:2px solid #d9a528;
    background:#fff;
    transition:.25s ease;
}

.program-link:hover .program-img-btn{
    box-shadow:0 18px 42px rgba(101,0,20,.25);
    border-color:var(--oc-maroon);
}

.program-heading-icon{
    font-size:42px;
    color:var(--oc-gold);
}

.program-heading-title{
    color:var(--oc-maroon);
    font-weight:700;
}

@media(max-width:768px){
    .program-card{
        padding:14px;
        border-radius:18px;
    }

    .program-img,
    .program-img-btn{
        border-radius:12px;
    }
}


/* =========================================================
   STUDENT / ALUMNI PORTAL LOGIN PAGE
========================================================= */

:root{
    --oc-border:#e5e7eb;
    --oc-muted:#6b7280;
}

.portal-section{
    padding:55px 0 65px;
    background:
        linear-gradient(180deg,rgba(255,255,255,.88),rgba(247,248,251,.98)),
        radial-gradient(circle at top left,rgba(101,0,20,.08),transparent 35%),
        radial-gradient(circle at bottom right,rgba(244,196,0,.12),transparent 30%);
}

.portal-heading{
    max-width:860px;
    margin:0 auto 30px;
    text-align:center;
}

.portal-heading .eyebrow{
    color:var(--oc-maroon);
    font-size:13px;
    font-weight:600;
    letter-spacing:.12em;
    text-transform:uppercase;
    margin-bottom:8px;
}

.portal-heading h1{
    font-size:34px;
    font-weight:600;
    letter-spacing:-.4px;
    color:#111827;
    margin-bottom:10px;
}

.portal-heading p{
    color:var(--oc-muted);
    max-width:720px;
    margin:auto;
    font-size:15px;
    line-height:1.9;
}

.login-container{
    max-width:880px;
    margin:auto;
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 28px rgba(17,24,39,.08);
    display:grid;
    grid-template-columns:38% 62%;
    border:1px solid var(--oc-border);
}

.login-left{
    background:#fff;
    border-right:1px solid var(--oc-border);
    padding:34px 30px;
    display:flex;
    align-items:center;
}

.portal-mark{
    width:52px;
    height:52px;
    border-radius:14px;
    background:var(--oc-maroon);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:19px;
    margin-bottom:18px;
}

.login-left h2{
    font-size:23px;
    font-weight:600;
    letter-spacing:-.2px;
    color:#111827;
    margin-bottom:12px;
}

.login-left p{
    color:#4b5563;
    font-size:14.5px;
    line-height:1.9;
    text-align:justify;
    margin-bottom:18px;
}

.service-list{
    border-top:1px solid var(--oc-border);
    padding-top:16px;
    margin-top:16px;
}

.service-item{
    display:flex;
    align-items:flex-start;
    gap:10px;
    color:#374151;
    font-size:14px;
    margin-bottom:10px;
    line-height:1.6;
}

.service-item i{
    color:var(--oc-maroon);
    font-size:13px;
    margin-top:5px;
}

.login-right{
    padding:34px 38px;
    background:#fff;
}

.login-right h3{
    color:#111827;
    font-size:25px;
    font-weight:600;
    letter-spacing:-.3px;
    margin-bottom:4px;
}

.login-subtitle{
    color:var(--oc-muted);
    margin-bottom:22px;
    font-size:14.5px;
}

.login-type-parent{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    margin-bottom:24px;
}

.login-type-btn{
    border:1px solid var(--oc-border);
    background:#fff;
    color:#374151;
    padding:11px 12px;
    border-radius:12px;
    font-weight:500;
    font-size:14px;
    transition:.2s;
}

.login-type-btn i{
    color:var(--oc-maroon);
    margin-right:6px;
}

.login-type-btn.active,
.login-type-btn:hover{
    background:#fff8e6;
    border-color:#ead7a1;
    color:#111827;
}

.login-type-btn.active{
    box-shadow:inset 0 0 0 1px rgba(101,0,20,.18);
}

.login-btn{
    width:100%;
    height:50px;
    border:none;
    border-radius:999px;
    background:var(--oc-maroon);
    color:#fff;
    font-size:15px;
    font-weight:600;
    transition:.2s;
}

.login-btn:hover{
    background:#4d0010;
    transform:translateY(-1px);
}

.forgot-link{
    text-decoration:none;
    color:var(--oc-maroon);
    font-weight:500;
    font-size:14px;
}

.forgot-link:hover{
    text-decoration:underline;
}

.login-footer-box{
    margin-top:22px;
    border:1px solid var(--oc-border);
    border-radius:14px;
    padding:14px 15px;
    background:#fafafa;
    color:#4b5563;
    font-size:14px;
    line-height:1.7;
}

.login-footer-box i{
    color:var(--oc-maroon);
    margin-right:6px;
}

@media(max-width:991px){
    .login-container{
        grid-template-columns:1fr;
        max-width:620px;
    }

    .login-left{
        border-right:0;
        border-bottom:1px solid var(--oc-border);
    }

    .portal-heading h1{
        font-size:29px;
    }
}

@media(max-width:768px){
    .portal-section{
        padding:35px 0 45px;
    }

    .login-left,
    .login-right{
        padding:28px 22px;
    }

    .login-type-parent{
        grid-template-columns:1fr;
    }
}




/* =========================================================
   MOBILE CONTENT TUNING
========================================================= */

@media(max-width:768px){

    .page-hero h1{
        font-size:clamp(30px, 8vw, 38px);
        line-height:1.18;
    }

    .page-hero p{
        font-size:16px;
        line-height:1.75;
        padding:0 8px;
    }

    .president-card,
    .form-card{
        border-radius:20px;
    }

    .president-content,
    .form-content{
        padding:30px 28px;
    }

    .president-name,
    .form-title{
        font-size:clamp(30px, 8vw, 38px) !important;
        line-height:1.15;
    }

    .president-position,
    .form-subtitle{
        font-size:15px;
        line-height:1.6;
    }

    .form-section-title,
    .section-title{
        font-size:20px;
        line-height:1.25;
        margin-top:34px;
        margin-bottom:18px;
    }

    .custom-input{
        min-height:50px;
        border-radius:12px;
    }

    .text-end.mt-4{
        display:flex;
        flex-direction:column;
        align-items:stretch;
        gap:12px;
    }

    .text-end.mt-4 .btn{
        width:100%;
        margin:0 !important;
        justify-content:center;
    }

    .btn-oc,
    .btn-secondary{
        min-height:48px;
        border-radius:999px;
    }

}


.form-action-row{
    display:flex;
    justify-content:flex-end;
    gap:12px;
    flex-wrap:wrap;
}

@media(max-width:768px){
    .form-action-row{
        flex-direction:column;
    }

    .form-action-row .btn{
        width:100%;
        margin:0 !important;
    }
}
