/* ===================================================
   COGNITION TRAINING INSTITUTE
   Main Stylesheet
=================================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Open+Sans:wght@400;600&display=swap');

/* ===========================
   ROOT VARIABLES
=========================== */

:root{

    --primary:#0B3C5D;
    --secondary:#1976D2;
    --accent:#F57C00;

    --light:#F5F8FC;
    --white:#FFFFFF;
    --dark:#212121;
    --grey:#777777;

    --shadow:0px 10px 30px rgba(0,0,0,.08);

}

/* ===========================
   RESET
=========================== */

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Open Sans',sans-serif;

    color:var(--dark);

    background:var(--light);

    overflow-x: visible;

}

/* ===========================
   HEADINGS
=========================== */

h1,h2,h3,h4,h5,h6{

    font-family:'Poppins',sans-serif;

    font-weight:700;

}

section{

    padding:90px 0;

}

.container{

    max-width:1200px;

}

/* ===========================
   LINKS
=========================== */

a{

    text-decoration:none;

}

/* ===========================
   BUTTONS
=========================== */

.btn-cti{

    background:var(--accent);

    color:white;

    padding:14px 35px;

    border-radius:40px;

    transition:.3s;

    font-weight:600;

    display:inline-block;

}

.btn-cti:hover{

    background:var(--primary);

    color:white;

    transform:translateY(-3px);

}

/* ===========================
   SECTION TITLE
=========================== */

.section-title{

    text-align:center;

    margin-bottom:60px;

}

.section-title h2{

    color:var(--primary);

    font-size:40px;

}

.section-title p{

    color:var(--grey);

    font-size:18px;

    margin-top:15px;

}
/* ===========================
   TOP BAR
=========================== */

.top-bar{

    background:#0B3C5D;

    color:white;

    padding:10px 0;

    font-size:14px;

}

.top-right{

    font-weight:600;

}

/* ===========================
   NAVBAR
=========================== */

.navbar{

    padding:15px 0;

}

.logo-circle{

    width:75px;

    height:75px;

    background:#F57C00;

    color:white;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:28px;

    font-weight:bold;

    font-family:Poppins;

}

.institute-name{

    color:#0B3C5D;

    font-size:30px;
    letter-spacing: 0.5px;
    font-weight:700;
    white-space: normal;
    overflow-wrap: break-word;

}

.nav-link{

    color:#333 !important;

    margin-left:15px;

    font-weight:600;

    transition:.3s;

}

.nav-link:hover{

    color:#F57C00 !important;

}

.nav-link.active{

    color:#1976D2 !important;

}

/* ===========================
   HERO SECTION
=========================== */

.hero{

    background:url('../images/hero/hero.jpg') center center/cover no-repeat;

    height:100vh;

    position:relative;

}

.hero-overlay{

    width:100%;
    height:100%;

    background:rgba(11,60,93,.78);
    padding-top: 40px;

    display:flex;

    align-items:center;

}

.hero h1{

    color:white;

    font-size:60px;

    font-weight:800;

    line-height:1.2;

}

.hero h3{

    color:#F57C00;

    margin:25px 0;

    font-weight:600;

}

.hero p{

    color:white;

    font-size:18px;

    line-height:1.8;

    margin-bottom:35px;

}

.hero-tag{

    display:inline-block;

    background:#F57C00;

    color:white;

    padding:8px 18px;

    border-radius:30px;

    margin-bottom:25px;

    font-weight:600;

}

/*=====================================
        WHY CTI
======================================*/

.why-cti{

    background:#f7f9fc;

}

.feature-card{

    background:#fff;

    padding:40px 30px;

    border-radius:18px;

    text-align:center;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.4s;

    height:100%;

}

.feature-card:hover{

    transform:translateY(-12px);

    box-shadow:0 20px 45px rgba(0,0,0,.15);

}

.feature-card i{

    font-size:55px;

    color:#F57C00;

    margin-bottom:25px;

}

.feature-card h4{

    color:#0B3C5D;

    margin-bottom:18px;

    font-weight:700;

}

.feature-card p{

    color:#666;

    line-height:1.8;

    font-size:15px;

}

/*====================================
        COURSES
=====================================*/

.courses{

    background:white;

}

.course-card{

    background:#ffffff;

    border-radius:20px;

    padding:40px;

    text-align:center;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.4s;

    height:100%;

}

.course-card:hover{

    transform:translateY(-12px);

    box-shadow:0 20px 45px rgba(0,0,0,.15);

}

.course-icon{

    width:90px;

    height:90px;

    margin:auto;

    border-radius:50%;

    background:#0B3C5D;

    color:white;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:38px;

    margin-bottom:25px;

}

.course-card h3{

    color:#0B3C5D;

    margin-bottom:20px;

}

.course-card ul{

    list-style:none;

    padding:0;

    margin-bottom:30px;

}

.course-card li{

    padding:8px 0;

    color:#555;

    border-bottom:1px solid #eeeeee;

}

/*==================================
        FACILITIES
===================================*/

.facilities{

    background:#f7f9fc;

}

.facility-card{

    background:#fff;

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.4s;

    height:100%;

}

.facility-card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 40px rgba(0,0,0,.15);

}

.facility-card img{

    width:100%;

    height:220px;

    object-fit:cover;

}

.facility-content{

    padding:25px;

}

.facility-content h4{

    color:#0B3C5D;

    margin-bottom:15px;

}

.facility-content p{

    color:#666;

    line-height:1.7;

}

/*==================================
        STUDENT PROJECTS
===================================*/

.projects{

    background:#ffffff;

}

.project-card{

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.4s;

    height:100%;

}

.project-card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 45px rgba(0,0,0,.15);

}

.project-card img{

    width:100%;

    height:220px;

    object-fit:cover;

}

.project-content{

    padding:25px;

}

.project-content h4{

    color:#0B3C5D;

    margin-bottom:15px;

}

.project-content p{

    color:#666;

    line-height:1.7;

}

/*==================================
        TESTIMONIALS
===================================*/

.testimonials{

    background:#f7f9fc;

}

.testimonial-card{

    background:white;

    border-radius:20px;

    text-align:center;

    padding:40px 30px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.4s;

    height:100%;

}

.testimonial-card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 45px rgba(0,0,0,.15);

}

.testimonial-card img{

    width:100px;

    height:100px;

    border-radius:50%;

    object-fit:cover;

    margin-bottom:20px;

    border:4px solid #F57C00;

}

.testimonial-card h4{

    color:#0B3C5D;

}

.stars{

    color:#F57C00;

    font-size:22px;

    margin:15px 0;

}

.testimonial-card p{

    color:#666;

    line-height:1.8;

}

/* =====================================================
   CONTACT SECTION
===================================================== */

.contact-section {
    padding: 80px 0;
    background: #f5f7fa;
    overflow: hidden;
}

.contact-section .row {
    margin-left: 0;
    margin-right: 0;
}

.contact-info,
.contact-form {
    width: 100%;
    max-width: 100%;
    padding: 38px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.contact-info {
    background: #0b2c4d;
    color: #ffffff;
}

.contact-info h3,
.contact-form h3 {
    margin-bottom: 28px;
    font-weight: 700;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    width: 100%;
    min-width: 0;
}

.contact-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    font-size: 18px;
}

.contact-text {
    flex: 1;
    min-width: 0;
}

.contact-text h5 {
    margin-bottom: 5px;
    color: #ffffff;
    font-size: 17px;
}

.contact-text p {
    margin: 0;
    line-height: 1.7;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.contact-text a {
    color: #ffffff;
    text-decoration: none;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.contact-text a:hover {
    text-decoration: underline;
}

.contact-form .form-label {
    font-weight: 600;
    margin-bottom: 7px;
}

.contact-form .form-control,
.contact-form .form-select {
    width: 100%;
    max-width: 100%;
    min-height: 50px;
    border-radius: 8px;
    border: 1px solid #d9dee5;
    padding: 11px 14px;
}

.contact-form textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: #0b2c4d;
    box-shadow: 0 0 0 0.2rem rgba(11, 44, 77, 0.15);
}

.contact-submit-btn {
    min-width: 170px;
}

/* Mobile correction */

@media (max-width: 767.98px) {

    .contact-section {
        padding: 55px 0;
    }

    .contact-section .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .contact-info,
    .contact-form {
        padding: 24px 18px;
        border-radius: 10px;
    }

    .contact-item {
        gap: 12px;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 16px;
    }

    .contact-form h3,
    .contact-info h3 {
        font-size: 23px;
    }

    .contact-submit-btn {
        width: 100%;
        min-width: 0;
    }
}

/*====================================
        FOOTER
=====================================*/

.footer{

background:#0B3C5D;

color:white;

padding:70px 0 20px;

}

.footer h3,
.footer h4{

margin-bottom:25px;

}

.footer ul{

list-style:none;

padding:0;

}

.footer ul li{

margin-bottom:12px;

}

.footer ul li a{

color:white;

text-decoration:none;

transition:.3s;

}

.footer ul li a:hover{

color:#F57C00;

padding-left:6px;

}

.footer hr{

margin:40px 0;

border-color:rgba(255,255,255,.2);

}

.copyright{

font-size:15px;

}

.whatsapp{

position:fixed;

right:25px;

bottom:25px;

width:65px;

height:65px;

background:#25D366;

color:white;

border-radius:50%;

display:flex;

justify-content:center;

align-items:center;

font-size:34px;

box-shadow:0 10px 30px rgba(0,0,0,.3);

z-index:999;

transition:.3s;

}

.whatsapp:hover{

transform:scale(1.1);

color:white;

}

#topBtn{

display:none;

position:fixed;

left:25px;

bottom:25px;

width:60px;

height:60px;

background:#F57C00;

color:white;

border:none;

border-radius:50%;

font-size:22px;

cursor:pointer;

z-index:999;

box-shadow:0 10px 25px rgba(0,0,0,.25);

transition:.3s;

}

#topBtn:hover{

background:#0B3C5D;

}



/*==============================
    PAGE BANNER
===============================*/

.page-banner{

    background:linear-gradient(rgba(11,60,93,.75),rgba(11,60,93,.75)),url('../images/about/banner.jpg');

    background-size:cover;

    background-position:center;

    padding:140px 0;

    text-align:center;

    color:white;

}

.page-banner h1{

    font-size:52px;

    font-weight:800;

    margin-bottom:20px;

}

.page-banner p{

    font-size:22px;

    color:#f2f2f2;

}



/*==============================
    SOFTWARE GRID
===============================*/

.software-grid{

    display:flex;

    flex-wrap:wrap;

    gap:15px;

    justify-content:center;

    margin-top:40px;

}

.software-grid span{

    background:#0B3C5D;

    color:white;

    padding:14px 24px;

    border-radius:30px;

    font-size:17px;

    transition:.3s;

    cursor:pointer;

}

.software-grid span:hover{

    background:#F57C00;

    transform:translateY(-4px);

}



/*==============================
        LEARNING FLOW
===============================*/

.learning-flow{

    background:#f7f9fc;

    padding:90px 0;

}

.flow{

    display:flex;

    justify-content:center;

    align-items:center;

    flex-wrap:wrap;

    gap:15px;

}

.flow-box{

    background:#0B3C5D;

    color:white;

    padding:20px 30px;

    border-radius:12px;

    font-weight:700;

    min-width:150px;

    text-align:center;

}

.arrow{

    font-size:32px;

    color:#F57C00;

    font-weight:bold;

}



