/* 
 * Innovative Group of Colleges
 * Main Stylesheet 
 * Premium & Modern Educational UI
 */

:root {
    --primary: #002147;
    /* Deep Navy Blue */
    --primary-light: #003a7a;
    --primary-dark: #00132b;
    --accent: #f8941f;
    /* Golden/Amber */
    --accent-hover: #ffaa42;
    --accent-light: rgba(248, 148, 31, 0.1);
    --text-dark: #2d3748;
    --text-muted: #718096;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
}

.text-primary {
    color: var(--primary) !important;
}

.text-accent {
    color: var(--accent) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-accent {
    background-color: var(--accent) !important;
}

.bg-accent-light {
    background-color: var(--accent-light) !important;
}

/* Buttons */
.btn {
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 33, 71, 0.2);
}

.btn-accent {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--primary-dark);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(248, 148, 31, 0.3);
}

.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Top Bar Old Style */
.blinking-btn {
    background-color: var(--accent);
    color: var(--primary-dark);
    animation: pulse-bg 1.5s infinite;
}

@keyframes pulse-bg {
    0% {
        background-color: var(--accent);
        color: var(--primary-dark);
    }

    50% {
        background-color: #d12e2e;
        color: white;
    }

    100% {
        background-color: var(--accent);
        color: var(--primary-dark);
    }
}

/* Hero Section */
.hero-wrapper {
    min-height: 500px;
    display: flex;
    align-items: center;
}

@media (max-width: 991.98px) {
    .hero-wrapper .col-lg-8 {
        min-height: 300px;
    }
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.carousel-overlay-light {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.1) 100%);
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

/* Right Side Form */
.form-side-col {
    z-index: 10;
}

.form-box {
    border-top: 5px solid var(--accent);
}

/* General Layout Utils */
.section-padding {
    padding: 80px 0;
}

.divider {
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}

.letter-spacing-1 {
    letter-spacing: 1px;
}

/* Parallax */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

/* Marquee */
.recruiter-marquee {
    position: relative;
    width: 100%;
}

.marquee-content {
    animation: scroll 20s linear infinite;
    min-width: 200%;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Swiper */
.swiper-pagination-bullet-active {
    background-color: var(--accent) !important;
}

/* Footer */
.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--accent);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-5px);
}


/* =========================================================================
   SIDE BUTTONS & FORM PANEL STYLES (From Old Backup)
   ========================================================================= */

.side-buttons {
    position: fixed;
    right: 0;
    top: 40%;
    transform: translateY(-50%);
    z-index: 10004;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.side-btn {
    background-color: var(--accent);
    color: #000;
    padding: 20px 10px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    cursor: pointer;
    font-weight: 700;
    border-radius: 10px 0 0 10px;
    transition: all 0.3s ease;
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-right: none;
}

.side-btn:hover {
    padding-right: 25px;
    background-color: var(--accent-hover);
}

.yellow-btn {
    background-color: var(--accent);
    color: #000;
}

.red-btn {
    background-color: #972836;
    color: #fff;
}

#sideFormPanel {
    position: fixed;
    right: -450px;
    top: 0;
    width: 450px;
    height: 100%;
    background: var(--primary);
    color: #fff;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.4);
    z-index: 10005;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

#sideFormPanel.active {
    right: 0;
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.form-header h3 {
    color: #fff;
    margin: 0;
    font-size: 22px;
    font-weight: 600;
}

.close-btn {
    cursor: pointer;
    font-size: 30px;
    color: #fff;
    line-height: 1;
    transition: transform 0.3s;
}

.close-btn:hover {
    transform: rotate(90deg);
}

.form-tabs {
    display: flex;
    padding: 15px 20px 0;
    background: var(--primary);
    gap: 10px;
}

.tab-btn {
    flex: 1;
    padding: 12px;
    border: none;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px 5px 0 0;
    transition: 0.3s;
    text-align: center;
}

.tab-btn.active {
    background: var(--accent);
    color: #000;
}

.form-body {
    padding: 20px;
    flex-grow: 1;
    background: var(--primary);
}

.side-form-input {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: #fff;
    color: #000;
    font-size: 14px;
}

.side-form-input:focus {
    border-color: var(--accent);
    outline: none;
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    margin-bottom: 20px;
    color: #fff;
}

.login-options a {
    color: #fff;
    text-decoration: none;
}

.login-options a:hover {
    color: var(--accent);
}

.apply-btn {
    width: 100%;
    padding: 15px;
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    transition: 0.3s;
}

.apply-btn:hover {
    background: var(--accent-hover);
}

.check-box-input {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

@media only screen and (max-width: 500px) {
    #sideFormPanel {
        width: 100%;
        right: -100%;
    }
}

/* =========================================
   IGC Advantage Section
   ========================================= */
.igc-advantage-section .advantage-stats-bg {
    background-color: #ffcb05;
}

.igc-advantage-section .text-danger {
    color: #a81010 !important;
}

.igc-advantage-section .border-danger {
    border-color: #a81010 !important;
}

/* IGC Advantage – improved typography */
.igc-advantage-section h2.display-5 {
    font-size: clamp(2rem, 4vw, 3rem);
    transition: transform 0.3s ease;
}

.igc-advantage-section h4.fw-bold {
    font-size: clamp(0.85rem, 1.5vw, 1.1rem);
    letter-spacing: 0.3px;
}

.igc-advantage-section h2.mx-4 {
    font-size: clamp(1.2rem, 2.5vw, 1.75rem);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.igc-advantage-section .stat-inner:hover h2.display-5 {
    transform: scale(1.05);
}

/* =========================================
   Internship & Placement Statistics Section
   ========================================= */
.internship-stats-section {
    background-color: #153a6b;
}

.donut-chart {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.donut-inner {
    width: 150px;
    height: 150px;
    background-color: #153a6b;
    /* Matches section bg */
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.chart-1 {
    /* cyan, teal, grey-green, dark-teal */
    background: conic-gradient(#36b9e9 0% 24%,
            #18939a 24% 78%,
            #9ac6b8 78% 85%,
            #2a8187 85% 100%);
}

.chart-2 {
    /* cyan, dark-teal, light-green */
    background: conic-gradient(#13b8e8 0% 50%,
            #11717f 50% 55%,
            #7fb987 55% 100%);
}

/* =========================================
   Outstanding Placement Section
   ========================================= */
.placement-section {
    background-color: #ffffff;
}

.placement-section .swiper {
    padding: 15px 40px 50px 40px;
    position: relative;
}

.placement-card-outer {
    background: #ffffff;
    border: 1px solid rgba(21, 58, 107, 0.08);
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(21, 58, 107, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.placement-card-outer:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(21, 58, 107, 0.1);
    border-color: rgba(248, 148, 31, 0.4);
}

.placement-card-inner {
    background-color: #ffffff;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    border-radius: 12px;
    overflow: hidden;
}

.placement-card-inner .img-wrapper {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: #f5f8fc;
}

.placement-card-inner .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
}

.placement-card-outer:hover .placement-card-inner .img-wrapper img {
    transform: scale(1.06);
}

.placement-card-inner .card-info {
    padding: 20px 15px;
    border-top: 1px solid rgba(21, 58, 107, 0.06);
    background-color: #ffffff;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.placement-card-inner .student-name {
    color: #153a6b;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.placement-card-outer:hover .student-name {
    color: #f8941f;
}

.placement-card-inner .company-name {
    color: #cc1212;
    font-weight: bold;
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Custom Swiper Controls */
.placement-section .swiper-button-prev,
.placement-section .swiper-button-next {
    width: 44px;
    height: 44px;
    background-color: #ffffff;
    border: 1px solid rgba(21, 58, 107, 0.12);
    border-radius: 50%;
    color: #153a6b;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    top: 45%;
}

.placement-section .swiper-button-prev:after,
.placement-section .swiper-button-next:after {
    font-size: 15px;
    font-weight: 900;
}

.placement-section .swiper-button-prev {
    left: 0;
}

.placement-section .swiper-button-next {
    right: 0;
}

.placement-section .swiper-button-prev:hover,
.placement-section .swiper-button-next:hover {
    background-color: #153a6b;
    color: #ffffff;
    border-color: #153a6b;
    box-shadow: 0 6px 16px rgba(21, 58, 107, 0.25);
}

.placement-section .swiper-pagination {
    bottom: 8px !important;
}

.placement-section .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(21, 58, 107, 0.2);
    opacity: 1;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.placement-section .swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 4px;
    background: #f8941f !important;
}

/* =========================================
   Why Choose Us Section
   ========================================= */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.why-choose-card {
    background-color: #fff;
    border: 2px solid #ffcb05;
    text-align: center;
    padding: 20px 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-choose-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.why-choose-card h6 {
    color: #153a6b;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
}

.why-choose-card p {
    color: #000000;
    font-size: 12.5px;
    line-height: 1.45;
    margin-bottom: 0;
}

.why-choose-card img {
    height: 50px;
    margin-bottom: 12px;
    object-fit: contain;
}

.why-choose-center-box {
    grid-column: span 2;
    background-color: #ffcb05;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.why-choose-center-box h2 {
    font-size: 3rem;
    font-weight: 900;
    color: #000;
    line-height: 1.1;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

@media (max-width: 991px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-choose-center-box h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 575px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .why-choose-center-box {
        grid-column: span 1;
    }

    .why-choose-center-box h2 {
        font-size: 2.2rem;
        padding: 25px 0;
    }

    .why-choose-card {
        padding: 18px 12px;
    }
}

/* =========================================
   Association & Collaboration Section
   ========================================= */
.association-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 2px;
    /* gap = gridline thickness */
    background-color: #153a6b;
    /* matches section bg – hides gridlines */
    border: 2px solid #153a6b;
    /* same colour outer border */
    border-radius: 6px;
    overflow: hidden;
}

.association-grid .logo-cell {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 10px;
    height: 96px;
    /* taller cells */
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.association-grid .logo-cell:hover {
    background-color: #f0f6ff;
    transform: scale(1.04);
    z-index: 1;
    position: relative;
}

.association-grid .logo-cell img {
    max-width: 85%;
    max-height: 54px;
    object-fit: contain;
    transition: filter 0.25s ease;
}

.association-grid .logo-cell:hover img {
    filter: drop-shadow(0 2px 6px rgba(21, 58, 107, 0.18));
}

@media (max-width: 1200px) {
    .association-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 768px) {
    .association-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .association-grid .logo-cell {
        height: 80px;
    }
}

@media (max-width: 575px) {
    .association-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .association-grid .logo-cell {
        height: 70px;
        padding: 10px 6px;
    }
}

/* =========================================
   Utility Classes extracted from inline styles
   ========================================= */
.bg-cubes {
    background-image: url('https://www.transparenttextures.com/patterns/cubes.png');
}

.main-logo {
    height: 150px;
    max-width: 100%;
    object-fit: contain;
}

@media (max-width: 767.98px) {
    .main-logo {
        height: 90px;
    }
}

.hero-wrapper {
    background: url('../images/background-image.png') center/100% 100% no-repeat;
    padding: 75px 0;
}

.carousel-overlay-light {
    background: rgba(0, 33, 71, 0.7);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-carousel-img {
    object-fit: cover;
}

@media (min-width: 992px) {
    .hero-wrapper .col-lg-8 {
        align-self: center;
    }

    .hero-wrapper .col-lg-8>div {
        aspect-ratio: 730 / 430 !important;
        height: auto !important;
    }

    #heroCarousel {
        height: 100% !important;
    }

    #heroCarousel .carousel-inner {
        height: 100% !important;
    }

    #heroCarousel .carousel-item {
        height: 100% !important;
    }

    #heroCarousel .hero-carousel-img {
        height: 100% !important;
        object-fit: cover !important;
    }
}

.hero-form-container {
    height: 520px;
}

.hero-form-tabs {
    border-bottom: 2px solid #fff;
}

.hero-form-tab-active {
    background: rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

.hero-form-tab {
    cursor: pointer;
}

.country-code-select {
    max-width: 70px;
}

.captcha-box {
    letter-spacing: 2px;
    text-decoration: line-through;
    color: #555;
}

.hero-check-input {
    margin-left: -1.5rem;
}

.hero-check-label {
    font-size: 10px;
    line-height: 1.2;
    color: #000 !important;
}

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

.font-11 {
    font-size: 11px;
}

.text-black-important {
    color: #000 !important;
}

.stat-separator-col {
    max-width: 20px;
}

.stat-vr {
    width: 4px;
    height: 60px;
}

.advantage-images-bg img {
    object-fit: fill;
    min-height: 100%;
}

.text-igc-yellow {
    color: #ffcb05 !important;
}

.donut-chart-container {
    max-width: 400px;
}

.table-header-custom th {
    background-color: #153a6b !important;
    color: #ffcb05 !important;
    border-bottom: none;
}

.table-custom-row td:first-child {
    font-size: 14px;
    text-align: left;
    padding-left: 1.5rem;
    color: #212529;
    font-weight: bold;
}

.text-igc-blue {
    color: #153a6b !important;
}

.company-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 55px;
    width: 100%;
    margin-top: 3px;
    padding: 0;
}

.company-logo img {
    max-height: 50px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    padding: 0;
}

.company-logo p {
    display: none;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.company-logo.text-only {
    background-color: rgba(21, 58, 107, 0.05);
    border: 1px dashed rgba(21, 58, 107, 0.2);
    border-radius: 6px;
    padding: 0 16px;
    height: 55px;
    width: auto;
    max-width: 95%;
}

.company-logo.text-only p {
    display: block !important;
    color: #153a6b !important;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.2;
    text-align: center;
}

.association-section {
    background-color: #153a6b;
}

.association-logo-fallback {
    font-size: 20px;
    display: none;
}

.association-logo-fallback-sm {
    font-size: 16px;
    display: none;
}

.about-yellow-container {
    border-right: 1px solid rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

@media (max-width: 767.98px) {
    .about-img-box {
        width: 100% !important;
        margin-bottom: 15px;
        float: none !important;
    }
}

.about-img-box {
    width: 45%;
}

.about-img-border {
    top: 10px;
    left: -10px;
    z-index: -1;
    border-color: #153a6b !important;
}

.about-img-fluid {
    object-fit: cover;
}

.about-text-justify {
    font-size: 14.5px;
    /* Increased from 11.5px */
    font-weight: 500;
    line-height: 1.6;
    /* Higher line-height for better readability */
    text-align: justify;
}

.about-text-box-bottom {
    border-right: 1px solid rgba(0, 0, 0, 0.15);
    /* More professional border contrast */
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.about-text-semibold {
    font-size: 14.5px;
    /* Increased from 11.5px */
    font-weight: 600;
    line-height: 1.6;
    /* Higher line-height for better readability */
    text-align: justify;
}

.about-border-effect {
    top: 20px;
    left: 10px;
    z-index: -1;
    /* Placed behind to prevent blocking interactions */
    pointer-events: none;
}

.testimonial-section {
    background-color: #153a6b;
}

.footer-logo {
    max-height: 100px;
}

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

.font-16 {
    font-size: 16px;
}

.font-14-center {
    font-size: 14px;
    text-align: center;
}

.font-9-italic {
    font-size: 9px;
    font-style: italic;
}

/* =========================================
   Professional Footer Styles
   ========================================= */
.igc-footer {
    background-color: #ffffff;
    border-top: 3px solid #ffcb05;
}

.igc-footer-top {
    padding: 36px 0 24px;
}

.igc-footer-tagline {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
    letter-spacing: 0.3px;
}

.igc-footer-bar {
    background-color: #002147;
    color: rgba(255, 255, 255, 0.7);
    padding: 14px 0;
}

.igc-footer-copy {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
}

.igc-footer-designed {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
}

.igc-footer-aws {
    color: #f8941f;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.igc-footer-aws:hover {
    color: #ffcb05;
}

/* =========================================
   Global Smooth Animation Utilities
   ========================================= */

/* Fade-in on scroll (applied via JS or CSS animation) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeInUp 0.5s ease both;
    animation-play-state: paused;
}

section.in-view {
    animation-play-state: running;
}

/* Smooth image hover lift for cards/images */
img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Smooth link transitions globally */
a {
    transition: color 0.2s ease, opacity 0.2s ease;
}

/* Smooth button interactions */
button,
.btn {
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease !important;
}

button:active,
.btn:active {
    transform: scale(0.97) !important;
}

/* Validation error messages styling */
.error-msg {
    display: none;
    color: #ff4d4d;
    font-size: 12px;
    margin-top: -10px;
    margin-bottom: 12px;
    text-align: left;
    font-weight: 500;
}

/* Hero section specific form adjustments */
.hero-form-container {
    height: 560px !important;
    /* Enforce constant fixed height to prevent layout shifts */
}

.hero-form-container .form-tabs {
    padding: 8px 10px 0 !important;
    gap: 6px !important;
}

.hero-form-container .tab-btn {
    padding: 8px !important;
    font-size: 13px !important;
}

/* Enable styling and scrolling adjustments inside the hero form body container */
.hero-form-container .form-body {
    overflow: hidden !important;
    padding: 0 !important;
}

/* Ensure other forms maintain padding inside form-body */
.hero-form-container #heroLoginForm,
.hero-form-container #heroOtpForm,
.hero-form-container #heroForgotForm {
    padding: 20px;
}

/* Fit registration form widget and scale it to fit container without scrollbar */
.hero-form-container #heroRegisterForm {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 14px 14px 10px 14px;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.3) transparent;
}

.hero-form-container #heroRegisterForm::-webkit-scrollbar {
    width: 4px;
}
.hero-form-container #heroRegisterForm::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 4px;
}

/* Manual register form layout helpers */
.reg-mobile-row {
    display: flex;
    gap: 8px;
    margin-bottom: 0;
}

.reg-mobile-row .country-code-select-wrapper {
    flex: 0 0 80px;
}

.reg-mobile-row .mobile-input {
    flex: 1;
    margin-bottom: 0 !important;
}

.country-code-select {
    width: 100% !important;
    padding: 12px 8px !important;
    margin-bottom: 0 !important;
    font-size: 14px !important;
}

.reg-grid-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 0;
}

.reg-grid-row .side-form-input {
    margin-bottom: 0;
}

.error-row-msg {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 4px;
}

.reg-submit-wrapper {
    margin-top: 6px;
}

/* ── reCAPTCHA Widget – Site-Themed Styling ── */
.reg-captcha-wrapper {
    margin: 8px 0 4px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    /* Scale widget to fill the full form width (widget native width = 304px) */
    width: 100%;
    overflow: hidden;
}

/* Outer decorative frame that matches the navy form */
.reg-captcha-wrapper .g-recaptcha {
    display: block;
    background: #001530;               /* slightly darker than --primary #002147 */
    border: 1.5px solid rgba(248, 148, 31, 0.45);  /* accent amber border */
    border-radius: 6px;
    box-shadow: 0 0 0 3px rgba(248, 148, 31, 0.10),
                inset 0 1px 3px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;

    /* Scale the 304px-wide widget to fill wrapper width */
    width: 304px;
    transform-origin: top left;
    transform: scale(calc(1));
}

/* When inside the hero form container (narrower), scale to fit */
.hero-form-container .reg-captcha-wrapper .g-recaptcha {
    transform: scale(0.83);
    margin-bottom: -13px;   /* compensate for scale collapsing height */
}

/* Error message under captcha */
.reg-captcha-wrapper #err_reg_captcha {
    font-size: 11px;
    color: #ff6b6b;
    margin-top: 4px;
    display: none;
    padding-left: 2px;
    font-weight: 500;
}

.reg-submit-btn {
    width: 100%;
    padding: 13px;
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 1px;
    transition: background 0.3s, transform 0.15s;
}

.reg-submit-btn:hover {
    background: var(--accent-hover);
}

.reg-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* =========================================
   Responsive Media Queries (Merged)
   ========================================= */
@media (max-width: 1200px) {
    .about-img-1 {
        right: 0;
        width: 100%;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--white);
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        margin-top: 15px;
        position: absolute;
        width: 100%;
        left: 0;
        top: 100%;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .dropdown-menu {
        box-shadow: none;
        border-left: 2px solid var(--accent);
        border-radius: 0;
        padding-left: 10px;
        margin-left: 15px;
        background-color: var(--bg-light);
    }

    .about-image-wrapper {
        margin-bottom: 50px;
    }

    .chairman-section .bg-shape {
        width: 100%;
        clip-path: none;
        background: var(--primary);
    }

    .section-padding {
        padding: 70px 0;
    }

    /* Hero Carousel responsive adjustments to prevent images from cropping */
    .hero-wrapper .col-lg-8>div {
        aspect-ratio: 730 / 430 !important;
        height: auto !important;
    }

    #heroCarousel {
        height: auto !important;
    }

    #heroCarousel .carousel-inner {
        height: auto !important;
    }

    #heroCarousel .carousel-item {
        height: auto !important;
        min-height: 0 !important;
    }

    #heroCarousel .hero-carousel-img {
        height: auto !important;
        object-fit: cover !important;
    }
}

@media (max-width: 767.98px) {
    .display-3 {
        font-size: 2.5rem;
    }

    .carousel-item {
        height: 70vh;
        min-height: 400px;
    }

    .about-image-wrapper {
        height: 350px;
    }

    .experience-badge {
        padding: 15px !important;
    }

    .experience-badge h3 {
        font-size: 1.5rem;
    }

    .stats-section .display-4 {
        font-size: 2rem;
    }

    .recruiter-marquee .marquee-content h3 {
        font-size: 1.2rem;
    }

    .section-padding {
        padding: 50px 0;
    }
}

@media (max-width: 575.98px) {
    .display-3 {
        font-size: 2rem;
    }

    .hero-content .lead {
        font-size: 1rem;
    }

    .carousel-item {
        height: 60vh;
    }

    .about-img-2 {
        display: none;
    }

    .about-image-wrapper {
        height: 250px;
    }

    .d-flex.gap-3.flex-wrap .btn {
        width: 100%;
    }
}

/* =========================================
   FLOATING CONTACT BUTTONS (WhatsApp & Call)
   ========================================= */
.floating-contact-buttons {
    position: fixed;
    left: 30px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 10000;
}

.floating-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    position: relative;
}

.floating-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.floating-btn i {
    transition: transform 0.3s ease;
}

.floating-btn:hover i {
    transform: rotate(10deg) scale(1.1);
}

/* Call Button Styling - Premium Blue/Teal Gradient */
.float-call {
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
    animation: phone-pulse 2s infinite;
}

/* WhatsApp Button Styling - Premium Green/Teal Gradient */
.float-wa {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    animation: wa-pulse 2s infinite;
    animation-delay: 0.5s;
}

/* Pulse Animations */
@keyframes phone-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 114, 255, 0.5), 0 8px 24px rgba(0, 0, 0, 0.2);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 114, 255, 0), 0 8px 24px rgba(0, 0, 0, 0.2);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 114, 255, 0), 0 8px 24px rgba(0, 0, 0, 0.2);
    }
}

@keyframes wa-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5), 0 8px 24px rgba(0, 0, 0, 0.2);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0), 0 8px 24px rgba(0, 0, 0, 0.2);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 8px 24px rgba(0, 0, 0, 0.2);
    }
}

/* Tooltip Labels */
.floating-btn::before {
    content: attr(data-label);
    position: absolute;
    left: 70px;
    background-color: rgba(0, 33, 71, 0.95);
    color: #fff;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    pointer-events: none;
    font-family: 'Montserrat', sans-serif;
}

.floating-btn:hover::before {
    opacity: 1;
    visibility: visible;
    left: 65px;
}

/* Responsive adjustments for mobile screens */
@media (max-width: 768px) {
    .floating-contact-buttons {
        left: 20px;
        bottom: 20px;
        gap: 10px;
    }

    .floating-btn {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .floating-btn::before {
        display: none;
        /* Hide label on mobile to keep interface clean */
    }
}

/* =========================================
   Manual Hero Registration Form Styling
   ========================================= */
#heroRegisterForm {
    width: 100%;
    height: 100%;
    overflow-y: auto !important; /* Enable scroll if content overflows on small screens */
    padding: 15px !important;
    box-sizing: border-box;
    background-color: #f8f9fa; /* Slightly off-white background matching the screenshot */
}

#heroRegisterForm form {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Compact gap */
}

#heroRegisterForm .side-form-input {
    width: 100%;
    height: 38px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

#heroRegisterForm select.side-form-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath fill='%23555555' d='M0 2l4 4 4-4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 10px;
    padding-right: 30px;
    cursor: pointer;
}

#heroRegisterForm .side-form-input:focus {
    border-color: #f8941f;
    box-shadow: 0 0 0 3px rgba(248, 148, 31, 0.15);
    outline: none;
}

/* Mobile input custom row */
.reg-mobile-row {
    display: flex;
    gap: 6px;
    width: 100%;
}

.reg-mobile-row .country-code-select-wrapper {
    width: 75px;
    flex-shrink: 0;
}

.reg-mobile-row .mobile-input {
    flex-grow: 1;
}

/* Grid layout for two items side by side */
.reg-grid-row {
    display: flex;
    gap: 8px;
    width: 100%;
}

.reg-grid-row .side-form-input {
    flex: 1;
    min-width: 0; /* Prevents overflow */
}

/* Captcha row styles */
.reg-captcha-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.reg-captcha-row .captcha-img-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 0 8px;
    height: 38px;
    width: 150px;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.reg-captcha-row .captcha-img-wrapper img {
    height: 30px;
    width: 100px;
    object-fit: contain;
}

.reg-captcha-row .captcha-refresh-btn {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    color: #6c757d;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.reg-captcha-row .captcha-refresh-btn:hover {
    color: #333;
}

.reg-captcha-row .captcha-input {
    flex-grow: 1;
}

/* Agreement checkbox row styling */
.reg-agree-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 4px 0 2px;
}

.reg-agree-row input[type="checkbox"] {
    margin-top: 3px;
    width: 14px;
    height: 14px;
    cursor: pointer;
    accent-color: #153a6b;
}

.reg-agree-row label {
    font-size: 11px;
    line-height: 1.35;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
}

/* Submit button styling */
.reg-submit-wrapper {
    text-align: center;
    margin-top: 4px;
}

.reg-submit-btn {
    background-color: #153a6b;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 8px 36px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 3px 6px rgba(21, 58, 107, 0.15);
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reg-submit-btn:hover {
    background-color: #002147;
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(21, 58, 107, 0.3);
}

.reg-submit-btn:active {
    transform: translateY(1px);
}

/* Compact validation errors styling */
#heroRegisterForm .error-msg {
    color: #ff4d4d;
    font-size: 11px;
    margin-top: -6px;
    margin-bottom: 2px;
    display: none;
    text-align: left;
    font-weight: 500;
}

.error-row-msg {
    display: flex;
    gap: 8px;
    width: 100%;
    margin-top: -6px;
    margin-bottom: 2px;
}

.error-row-msg .error-msg {
    flex: 1;
    margin: 0 !important;
}

/* Custom Scrollbar for the registration form */
#heroRegisterForm::-webkit-scrollbar {
    width: 6px;
}
#heroRegisterForm::-webkit-scrollbar-track {
    background: #f1f1f1;
}
#heroRegisterForm::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}
#heroRegisterForm::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}