/* =========================================================
   SARASWATHI PRIVATE I.T.I
   style.css
   Professional Navy Blue + Gold Theme
========================================================= */


/* =========================================================
   ROOT COLORS
========================================================= */

:root {

    --navy: #082b52;

    --dark-navy: #041b35;

    --gold: #d6a21d;

    --light-gold: #f3d36a;

    --white: #ffffff;

    --light-bg: #f5f8fc;

    --border: #e5e9ef;

    --text: #333333;

    --muted: #6c757d;

}


/* =========================================================
   GLOBAL
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    font-family: 'Poppins', sans-serif;

    color: var(--text);

    background: #ffffff;

    line-height: 1.7;

    overflow-x: hidden;
}


h1,
h2,
h3,
h4,
h5,
h6 {

    font-family: 'Montserrat', sans-serif;

}


a {

    text-decoration: none;

    transition: all 0.3s ease;

}


img {

    max-width: 100%;

    height: auto;

}


::selection {

    background: var(--gold);

    color: #ffffff;

}


/* =========================================================
   TOP CONTACT BAR
========================================================= */

.top-bar {

    background: var(--dark-navy);

    color: #ffffff;

    padding: 9px 0;

    font-size: 13px;

}


.top-bar a {

    color: #ffffff;

}


.top-bar a:hover {

    color: var(--light-gold);

}


.top-bar i {

    color: var(--light-gold);

    margin-right: 6px;

}


/* =========================================================
   MAIN HEADER
========================================================= */

.main-header {

    background: #ffffff;

    padding: 14px 0;

    border-bottom: 1px solid var(--border);

}


.logo-area {

    display: flex;

    align-items: center;

    gap: 15px;

}


.logo-placeholder {

    width: 76px;

    height: 76px;

    min-width: 76px;

    border-radius: 50%;

    background: var(--navy);

    border: 4px solid var(--gold);

    display: flex;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    color: #ffffff;

    text-align: center;

    box-shadow: 0 5px 15px rgba(0,0,0,0.12);

}


.logo-placeholder i {

    font-size: 28px;

    color: var(--light-gold);

}


.logo-placeholder small {

    font-size: 9px;

    font-weight: 800;

    margin-top: 2px;

}


.site-logo {

    width: 76px;

    height: 76px;

    object-fit: contain;

    border-radius: 50%;

    border: 3px solid var(--gold);

}


.institute-name {

    color: var(--navy);

    font-size: 25px;

    font-weight: 800;

    line-height: 1.2;

}


.institute-subtitle {

    color: #777777;

    font-size: 13px;

    margin-top: 4px;

}


.established {

    color: var(--gold);

    font-size: 13px;

    font-weight: 700;

    margin-top: 2px;

}


/* =========================================================
   NAVIGATION
========================================================= */

.navbar-custom {

    background: var(--navy);

    padding: 0;

    box-shadow: 0 3px 12px rgba(0,0,0,0.12);

    position: relative;

    z-index: 1000;

}


.navbar-custom .navbar-nav {

    align-items: center;

}


.navbar-custom .nav-item {

    position: relative;

}


.navbar-custom .nav-link {

    color: #ffffff !important;

    padding: 15px 12px;

    font-size: 12.5px;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.2px;

}


.navbar-custom .nav-link i {

    margin-right: 4px;

    color: var(--light-gold);

}


.navbar-custom .nav-link:hover,

.navbar-custom .nav-link:focus {

    background: var(--gold);

    color: #ffffff !important;

}


.navbar-custom .nav-link:hover i,

.navbar-custom .nav-link:focus i {

    color: #ffffff;

}


/* =========================================================
   DROPDOWN
========================================================= */

.navbar-custom .dropdown-menu {

    background: #ffffff;

    border: none;

    border-radius: 0;

    margin-top: 0;

    min-width: 230px;

    padding: 7px 0;

    box-shadow: 0 8px 25px rgba(0,0,0,0.16);

}


.navbar-custom .dropdown-item {

    color: #333333;

    font-size: 13px;

    font-weight: 500;

    padding: 10px 18px;

}


.navbar-custom .dropdown-item i {

    color: var(--gold);

    width: 22px;

}


.navbar-custom .dropdown-item:hover {

    background: var(--navy);

    color: #ffffff;

}


.navbar-custom .dropdown-item:hover i {

    color: var(--light-gold);

}


/* =========================================================
   MOBILE TOGGLER
========================================================= */

.navbar-toggler {

    border: 1px solid rgba(255,255,255,0.7);

    padding: 7px 10px;

}


.navbar-toggler:focus {

    box-shadow: none;

}


.navbar-toggler-icon {

    filter: brightness(0) invert(1);

}


/* =========================================================
   HERO SECTION
========================================================= */

.hero {

    min-height: 590px;

    background:

        linear-gradient(
            rgba(4,27,53,0.82),
            rgba(8,43,82,0.88)
        ),

        url('images/college-building.jpg')
        center center / cover no-repeat;

    display: flex;

    align-items: center;

    position: relative;

}


.hero-content {

    color: #ffffff;

    max-width: 850px;

    padding: 75px 0;

}


.hero-badge {

    display: inline-block;

    background: var(--gold);

    color: #ffffff;

    padding: 8px 18px;

    border-radius: 30px;

    font-size: 12px;

    font-weight: 700;

    margin-bottom: 18px;

}


.hero h1 {

    font-size: 48px;

    font-weight: 800;

    line-height: 1.15;

    text-transform: uppercase;

}


.hero h1 span {

    color: var(--light-gold);

    display: block;

}


.hero p {

    font-size: 17px;

    margin: 20px 0;

    max-width: 750px;

}


.hero p i {

    color: var(--light-gold);

}


.btn-gold {

    background: var(--gold);

    color: #ffffff !important;

    padding: 12px 25px;

    border-radius: 5px;

    font-weight: 700;

    display: inline-block;

    border: 2px solid var(--gold);

}


.btn-gold:hover {

    background: transparent;

    color: #ffffff !important;

    border-color: #ffffff;

}


.btn-outline-light-custom {

    border: 2px solid #ffffff;

    color: #ffffff !important;

    padding: 10px 24px;

    border-radius: 5px;

    font-weight: 700;

    display: inline-block;

}


.btn-outline-light-custom:hover {

    background: #ffffff;

    color: var(--navy) !important;

}


/* =========================================================
   NOTICE / NEWS BAR
========================================================= */

.notice-bar {

    background: var(--gold);

    color: #ffffff;

    display: flex;

    align-items: center;

    overflow: hidden;

}


.notice-title {

    background: var(--dark-navy);

    padding: 11px 20px;

    font-weight: 700;

    white-space: nowrap;

    position: relative;

    z-index: 2;

}


.notice-title i {

    margin-right: 6px;

    color: var(--light-gold);

}


.notice-scroll {

    overflow: hidden;

    white-space: nowrap;

    width: 100%;

}


.notice-scroll span {

    display: inline-block;

    padding-left: 100%;

    animation: marquee 25s linear infinite;

}


@keyframes marquee {

    0% {

        transform: translateX(0);

    }

    100% {

        transform: translateX(-100%);

    }

}


/* =========================================================
   GENERAL SECTION
========================================================= */

.section {

    padding: 75px 0;

}


.section-light {

    background: var(--light-bg);

}


.section-heading {

    text-align: center;

    margin-bottom: 45px;

}


.section-heading .small-title {

    color: var(--gold);

    font-size: 13px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1.5px;

}


.section-heading h2 {

    color: var(--navy);

    font-weight: 800;

    font-size: 34px;

    margin: 7px 0 15px;

}


.heading-line {

    width: 70px;

    height: 4px;

    background: var(--gold);

    margin: auto;

    border-radius: 5px;

}


/* =========================================================
   ABOUT SECTION
========================================================= */

.about-image {

    min-height: 390px;

    border-radius: 8px;

    background:

        linear-gradient(
            rgba(8,43,82,0.10),
            rgba(8,43,82,0.10)
        ),

        url('images/about-iti.jpg')
        center center / cover no-repeat;

    box-shadow: 0 10px 30px rgba(0,0,0,0.10);

}


.about-content h3 {

    color: var(--navy);

    font-size: 27px;

    font-weight: 800;

    margin-bottom: 15px;

}


.about-content p {

    color: #555555;

    font-size: 14px;

}


.info-box {

    background: #ffffff;

    border-left: 4px solid var(--gold);

    padding: 11px 15px;

    margin-top: 12px;

    box-shadow: 0 4px 15px rgba(0,0,0,0.05);

    font-size: 13px;

}


.info-box strong {

    color: var(--navy);

}


/* =========================================================
   MESSAGE CARDS
========================================================= */

.message-card {

    background: #ffffff;

    border-radius: 8px;

    overflow: hidden;

    height: 100%;

    box-shadow: 0 7px 25px rgba(0,0,0,0.08);

    transition: 0.3s;

}


.message-card:hover {

    transform: translateY(-5px);

}


.message-photo {

    height: 250px;

    background:

        linear-gradient(
            135deg,
            #e8eef6,
            #f6f8fb
        );

    display: flex;

    align-items: center;

    justify-content: center;

    color: #777777;

}


.message-photo i {

    font-size: 65px;

    color: var(--navy);

    opacity: 0.25;

}


.message-content {

    padding: 25px;

}


.message-content h4 {

    color: var(--navy);

    font-weight: 800;

    margin-bottom: 5px;

}


.message-content h5 {

    color: var(--gold);

    font-size: 13px;

    margin-bottom: 15px;

}


.message-content p {

    font-size: 14px;

    color: #555555;

}


/* =========================================================
   TRADES
========================================================= */

.trade-card {

    background: #ffffff;

    border-radius: 8px;

    padding: 35px 25px;

    text-align: center;

    height: 100%;

    border-top: 5px solid var(--gold);

    box-shadow: 0 8px 25px rgba(0,0,0,0.07);

    transition: 0.3s;

}


.trade-card:hover {

    transform: translateY(-8px);

    box-shadow: 0 15px 35px rgba(0,0,0,0.12);

}


.trade-icon {

    width: 80px;

    height: 80px;

    background: var(--navy);

    color: var(--light-gold);

    border-radius: 50%;

    margin: 0 auto 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 30px;

}


.trade-card h4 {

    color: var(--navy);

    font-weight: 800;

    font-size: 21px;

}


.trade-card .duration {

    color: var(--gold);

    font-weight: 800;

    font-size: 14px;

}


.trade-card p {

    color: #666666;

    margin-bottom: 5px;

    font-size: 14px;

}


/* =========================================================
   STATISTICS
========================================================= */

.stats-section {

    background:

        linear-gradient(
            rgba(4,27,53,0.94),
            rgba(8,43,82,0.94)
        ),

        url('images/campus.jpg')
        center center / cover no-repeat;

    padding: 60px 0;

}


.stat-box {

    text-align: center;

    color: #ffffff;

}


.stat-box i {

    color: var(--light-gold);

    font-size: 34px;

    margin-bottom: 12px;

}


.stat-box h2 {

    font-size: 34px;

    font-weight: 800;

    margin-bottom: 3px;

}


.stat-box p {

    margin: 0;

    font-size: 13px;

    color: #dddddd;

}


/* =========================================================
   INFRASTRUCTURE
========================================================= */

.facility-card {

    background: #ffffff;

    border-radius: 7px;

    padding: 25px 15px;

    text-align: center;

    height: 100%;

    box-shadow: 0 5px 20px rgba(0,0,0,0.06);

    transition: 0.3s;

}


.facility-card:hover {

    transform: translateY(-6px);

    box-shadow: 0 12px 28px rgba(0,0,0,0.10);

}


.facility-icon {

    font-size: 34px;

    color: var(--gold);

    margin-bottom: 12px;

}


.facility-card h5 {

    color: var(--navy);

    font-weight: 700;

    font-size: 15px;

}


.facility-card p {

    margin: 0;

    color: #666666;

    font-weight: 600;

    font-size: 13px;

}


/* =========================================================
   WHY CHOOSE US
========================================================= */

.why-box {

    display: flex;

    gap: 15px;

    margin-bottom: 28px;

}


.why-icon {

    min-width: 55px;

    height: 55px;

    background: var(--navy);

    color: var(--light-gold);

    border-radius: 6px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 21px;

}


.why-box h5 {

    color: var(--navy);

    font-weight: 700;

    margin-bottom: 4px;

}


.why-box p {

    margin: 0;

    color: #666666;

    font-size: 13px;

}


/* =========================================================
   GALLERY
========================================================= */

.gallery-item {

    height: 240px;

    background: #e8edf4;

    border-radius: 7px;

    overflow: hidden;

    position: relative;

}


.gallery-item img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;

}


.gallery-item:hover img {

    transform: scale(1.08);

}


.gallery-placeholder {

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    color: #888888;

}


.gallery-placeholder i {

    font-size: 45px;

    color: var(--navy);

    opacity: 0.3;

    margin-bottom: 8px;

}


/* =========================================================
   ADMISSION CTA
========================================================= */

.admission-section {

    background: var(--gold);

    color: #ffffff;

    padding: 55px 0;

}


.admission-section h2 {

    font-size: 30px;

    font-weight: 800;

    margin-bottom: 5px;

}


.admission-section p {

    margin: 0;

    font-size: 14px;

}


.btn-dark-custom {

    background: var(--dark-navy);

    color: #ffffff !important;

    padding: 12px 25px;

    border-radius: 5px;

    font-weight: 700;

    display: inline-block;

}


.btn-dark-custom:hover {

    background: #000000;

}


/* =========================================================
   CONTACT
========================================================= */

.contact-card {

    background: var(--navy);

    color: #ffffff;

    padding: 35px;

    border-radius: 8px;

    height: 100%;

}


.contact-card h3 {

    color: var(--light-gold);

    font-weight: 800;

    margin-bottom: 25px;

}


.contact-item {

    display: flex;

    gap: 15px;

    margin-bottom: 20px;

}


.contact-item i {

    color: var(--light-gold);

    font-size: 19px;

    width: 25px;

}


.contact-item p {

    margin: 0;

    font-size: 13px;

}


.contact-item a {

    color: #ffffff;

}


.contact-item a:hover {

    color: var(--light-gold);

}


.map-placeholder {

    background: #e8edf4;

    min-height: 380px;

    border-radius: 8px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    color: #777777;

    text-align: center;

}


.map-placeholder i {

    font-size: 50px;

    color: var(--navy);

    margin-bottom: 15px;

}


/* =========================================================
   FOOTER
========================================================= */

footer {

    background: var(--dark-navy);

    color: #bbbbbb;

}


.footer-main {

    padding: 55px 0 35px;

}


footer h5 {

    color: #ffffff;

    font-weight: 700;

    margin-bottom: 20px;

}


footer p {

    font-size: 13px;

}


.footer-links {

    list-style: none;

    padding: 0;

}


.footer-links li {

    margin-bottom: 8px;

}


.footer-links a {

    color: #bbbbbb;

    font-size: 13px;

}


.footer-links a:hover {

    color: var(--light-gold);

    padding-left: 4px;

}


.footer-bottom {

    border-top: 1px solid rgba(255,255,255,0.1);

    padding: 18px 0;

    text-align: center;

    font-size: 12px;

}


.social-icons a {

    display: inline-flex;

    width: 36px;

    height: 36px;

    align-items: center;

    justify-content: center;

    background: rgba(255,255,255,0.08);

    color: #ffffff;

    margin-right: 5px;

    border-radius: 4px;

}


.social-icons a:hover {

    background: var(--gold);

    color: #ffffff;

}


/* =========================================================
   PAGE BANNER
   For internal pages
========================================================= */

.page-banner {

    background:

        linear-gradient(
            rgba(4,27,53,0.90),
            rgba(8,43,82,0.90)
        ),

        url('images/college-building.jpg')
        center / cover no-repeat;

    padding: 75px 0;

    text-align: center;

    color: #ffffff;

}


.page-banner h1 {

    font-size: 40px;

    font-weight: 800;

    margin-bottom: 10px;

    text-transform: uppercase;

}


.page-banner p {

    margin: 0;

    font-size: 14px;

}


.page-banner .breadcrumb {

    justify-content: center;

    margin-top: 15px;

}


.page-banner .breadcrumb-item,

.page-banner .breadcrumb-item a {

    color: #ffffff;

    font-size: 13px;

}


.page-banner .breadcrumb-item.active {

    color: var(--light-gold);

}


/* =========================================================
   COMMON CONTENT CARD
========================================================= */

.content-card {

    background: #ffffff;

    padding: 30px;

    border-radius: 8px;

    box-shadow: 0 7px 25px rgba(0,0,0,0.06);

    margin-bottom: 25px;

}


.content-card h3 {

    color: var(--navy);

    font-weight: 800;

    margin-bottom: 15px;

}


.content-card h4 {

    color: var(--navy);

    font-weight: 700;

}


.content-card p {

    color: #555555;

    font-size: 14px;

}


/* =========================================================
   TABLE DESIGN
========================================================= */

.table-custom {

    width: 100%;

    border-collapse: collapse;

    background: #ffffff;

}


.table-custom th {

    background: var(--navy);

    color: #ffffff;

    padding: 12px;

    font-size: 13px;

}


.table-custom td {

    padding: 11px;

    border: 1px solid #e2e6eb;

    font-size: 13px;

}


.table-custom tr:nth-child(even) {

    background: #f7f9fc;

}


.table-custom tr:hover {

    background: #fff9e8;

}


/* =========================================================
   FORM DESIGN
========================================================= */

.form-control,

.form-select {

    border: 1px solid #d9dee5;

    border-radius: 5px;

    padding: 11px 13px;

    font-size: 13px;

}


.form-control:focus,

.form-select:focus {

    border-color: var(--gold);

    box-shadow: 0 0 0 0.15rem rgba(214,162,29,0.15);

}


/* =========================================================
   BACK TO TOP
========================================================= */

.back-to-top {

    position: fixed;

    right: 20px;

    bottom: 20px;

    width: 42px;

    height: 42px;

    background: var(--gold);

    color: #ffffff;

    border-radius: 50%;

    display: none;

    align-items: center;

    justify-content: center;

    z-index: 9999;

    box-shadow: 0 4px 15px rgba(0,0,0,0.2);

}


.back-to-top:hover {

    background: var(--navy);

    color: #ffffff;

}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 991px) {

    .navbar-custom .navbar-nav {

        align-items: stretch;

    }


    .navbar-custom .nav-link {

        padding: 12px 15px;

    }


    .navbar-custom .dropdown-menu {

        box-shadow: none;

        border-top: 1px solid rgba(0,0,0,0.08);

    }


    .hero h1 {

        font-size: 40px;

    }


    .section-heading h2 {

        font-size: 30px;

    }

}


/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 767px) {


    .top-bar {

        font-size: 11px;

    }


    .logo-area {

        justify-content: center;

        text-align: center;

    }


    .logo-placeholder,

    .site-logo {

        width: 60px;

        height: 60px;

        min-width: 60px;

    }


    .logo-placeholder i {

        font-size: 21px;

    }


    .institute-name {

        font-size: 19px;

    }


    .institute-subtitle {

        font-size: 10px;

    }


    .established {

        font-size: 10px;

    }


    .hero {

        min-height: 520px;

    }


    .hero-content {

        padding: 60px 15px;

    }


    .hero h1 {

        font-size: 30px;

    }


    .hero p {

        font-size: 14px;

    }


    .btn-gold,

    .btn-outline-light-custom {

        display: block;

        text-align: center;

        margin: 8px 0;

    }


    .notice-title {

        padding: 10px 12px;

        font-size: 11px;

    }


    .notice-scroll {

        font-size: 11px;

    }


    .section {

        padding: 55px 0;

    }


    .section-heading h2 {

        font-size: 26px;

    }


    .about-image {

        min-height: 280px;

        margin-bottom: 25px;

    }


    .message-photo {

        height: 220px;

    }


    .gallery-item {

        height: 190px;

    }


    .page-banner {

        padding: 55px 0;

    }


    .page-banner h1 {

        font-size: 28px;

    }


    .contact-card {

        padding: 25px;

    }


    .map-placeholder {

        min-height: 280px;

    }

}


/* =========================================================
   VERY SMALL DEVICES
========================================================= */

@media (max-width: 420px) {


    .institute-name {

        font-size: 16px;

    }


    .institute-subtitle {

        font-size: 9px;

    }


    .hero h1 {

        font-size: 25px;

    }


    .hero-badge {

        font-size: 10px;

    }


    .section-heading h2 {

        font-size: 23px;

    }


    .trade-card {

        padding: 28px 18px;

    }


    .facility-card {

        padding: 20px 8px;

    }


}