﻿:root {
    --primary: #0A2A5E;
    --primary-dark: #061B3D;
    --accent: #1E5FBF;
    --accent-light: #3B82F6;
    --light-bg: #F0F6FF;
    --card-bg: #FFFFFF;
    --text: #1F2937;
    --text-light: #000000;
    --border: #E5E7EB;
    --success: #059669;
}
/*p, li {
    font-family: Cambria;
}*/
.rd-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== HERO ========== */
.rd-banner {
    background: linear-gradient(135deg, var(--primary) 0%, #0F3A7A 60%, #1E5FBF 100%);
    color: white;
    padding: 60px 0 80px;
    position: relative;
    overflow: hidden;
}

    .rd-banner::before {
        content: '';
        position: absolute;
        inset: 0;
        background: url('../images/research-development-banner.png') center/cover;
        opacity: 1;
    }

.rd-banner-content {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.rd-banner-text h1 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 8px;
    color:#fff;
}

.rd-banner-text .sub {
    opacity: 0.95;
    margin-bottom: 16px;
}

.rd-banner-tagline {
    display: flex;
    gap: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

    .rd-banner-tagline span {
        position: relative;
        padding-right: 14px;
    }

        .rd-banner-tagline span:not(:last-child)::after {
            content: '|';
            position: absolute;
            right: 0;
            opacity: 0.6;
        }

.rd-banner-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.rd-banner-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 320px;
}

.rd-banner-icon {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    border: 1px solid rgba(255,255,255,0.25);
}

    .rd-banner-icon.main {
        grid-column: 2;
        width: 90px;
        height: 90px;
        background: rgba(255,255,255,0.25);
        transform: scale(1.1);
    }

/* ========== MESSAGE SECTION ========== */
.message-section {
    padding: 50px 0;
    background: white;
}

.message-card {
    display: grid;
    grid-template-columns: 220px 1fr 280px;
    gap: 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(10,42,94,0.08);
    padding: 30px;
    border: 1px solid var(--border);
    align-items: start;
}
.message-des-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(10,42,94,0.08);
    padding: 30px;
    border: 1px solid var(--border);
    align-items: start;
}
.head-photo {
    text-align: center;
}

    .head-photo img {
        width: 180px;
        height: 220px;
        object-fit: cover;
        border-radius: 12px;
        border: 4px solid var(--primary);
        box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    }

    .head-photo .role {
        margin-top: 12px;
        background: var(--primary);
        color: white;
        padding: 8px 15px;
        border-radius: 20px;
        font-weight: 600;
        display: inline-block;
    }

.message-body h2 {
    color: var(--primary);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
}

    .message-body h2 i {
        color: var(--accent);
    }

.message-body p {
    color: var(--text-light);
    margin-bottom: 18px;
    text-align: justify;
    font-family: Cambria;
}
.quote-box {
    background: linear-gradient(145deg, #F0F7FF, #E8F0FE);
    border-left: 5px solid var(--accent);
    border-radius: 12px;
    padding: 24px 22px;
    position: relative;
}

    .quote-box::before {
        content: '"';
        font-size: 4rem;
        color: var(--accent);
        opacity: 0.25;
        position: absolute;
        left: 12px;
        font-family: Georgia, serif;
    }

    .quote-box p {
        font-style: italic;
        color: var(--primary);
        font-size: 2.05rem;
        line-height: 1.5;
        margin-bottom: 12px;
        position: relative;
        z-index: 1;
    }

    .quote-box .author {
        text-align: right;
        font-weight: 600;
        color: var(--text-light);
    }

/* ========== ABOUT ========== */
.about-section {
    padding: 50px 0;
    background: var(--light-bg);
}

.section-title-rd {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .section-title i {
        color: var(--accent);
    }

.about-grid {
    display: grid;
    grid-template-columns: 0.5fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 22px;
    font-family: Cambria;
    text-align:justify;
}

.about-img {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(10,42,94,0.12);
}

    .about-img img {
        width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
    }

/* ========== OBJECTIVES + FOCUS ========== */
.objectives-focus {
    padding: 50px 0;
    background: white;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 30px;
}

.card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 6px 24px rgba(10,42,94,0.06);
    border: 1px solid var(--border);
    height: 100%;
}

.objectives-list {
    list-style: none;
    font-family: Cambria;
}

    .objectives-list li {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 14px;
        color: var(--text-light);
    }

        .objectives-list li i {
            color: var(--accent);
            margin-top: 4px;
            flex-shrink: 0;
        }

.focus-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.focus-item {
    background: var(--light-bg);
    border-radius: 12px;
    padding: 18px 12px;
    text-align: center;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

    .focus-item:hover {
        background: white;
        border-color: var(--accent);
        box-shadow: 0 8px 20px rgba(30,95,191,0.12);
        transform: translateY(-4px);
    }

    .focus-item i {
        font-size: 24px;
        color: var(--primary);
        margin-bottom: 10px;
        display: block;
    }

    .focus-item span {
        font-size: 1.40rem;
        font-weight: 600;
        color: var(--primary);
        line-height: 1.3;
    }

/* ========== STATS ========== */
.stats-bar {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: white;
    padding: 28px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

    .stat-item i {
        font-size: 36px;
        opacity: 0.9;
    }

    .stat-item .num {
        font-size: 1.9rem;
        font-weight: 700;
    }

    .stat-item .label {
        font-size: 16px;
        opacity: 0.9;
    }

/* ========== BOTTOM SECTION ========== */
.bottom-section {
    padding: 50px 0 60px;
    background: #f8fafc;
}

.bottom-grid-rd {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr; /* first column wide, next two smaller */
    gap: 24px;
    font-family: Cambria;
}

.bottom-card h3 {
    color: var(--primary);
    font-size: 1.15rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.functions-list {
    list-style: none;
    padding: 0;
}

    .functions-list li {
        padding: 8px 0;
        border-bottom: 1px dashed var(--border);
        color: var(--text-light);
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .functions-list li:last-child {
            border-bottom: none;
        }

        .functions-list li i {
            color: var(--accent);
            font-size: 0.85rem;
        }

.info-table {
    width: 100%;
    font-size: 14px;
}

    .info-table td {
        padding: 8px 0;
        vertical-align: top;
    }

        .info-table td:first-child {
            color: var(--text-light);
            width: 38%;
            font-weight: 500;
        }

        .info-table td:nth-child(2) {
            color: var(--text-light);
            width: 8%;
        }

        .info-table td:last-child {
            color: var(--primary);
            font-weight: 600;
        }

.quick-links-5 a {
    font-family: Cambria;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px dashed var(--border);
    transition: color 0.2s;
}

    .quick-links-5 a:last-child {
        border-bottom: none;
    }

    .quick-links-5 a:hover {
        color: var(--primary);
    }

    .quick-links-5 a i {
        color: var(--accent);
        width: 18px;
        font-size:18px;
    }

.cta-box {
    background: linear-gradient(160deg, var(--primary), #0F3A7A);
    color: white;
    border-radius: 16px;
    padding: 28px 22px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .cta-box i {
        font-size: 75px;
        margin-bottom: 14px;
        opacity: 0.9;
    }

    .cta-box h4 {
        font-size: 1.25rem;
        margin-bottom: 8px;
        line-height: 1.3;
    }

    .cta-box p {
        font-size: 0.95rem;
        opacity: 0.9;
    }
.cta-box h5{
    font-size:20px;
    line-height:1.5;
}
/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .rd-banner-content, .message-card, .about-grid, .two-col, .bottom-grid-rd {
        grid-template-columns: 1fr;
    }

    .rd-banner-text h1 {
        font-size: 2.2rem;
    }

    .focus-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .message-card {
        text-align: center;
    }

    .head-photo {
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .rd-banner {
        padding: 40px 0 50px;
    }

    .rd-banner-text h1 {
        font-size: 1.8rem;
    }

    .focus-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}
/* ==========================================
   R&D MODERN HERO BANNER
   Dronacharya Group of Institutions
========================================== */

.rd-banner-new {
    position: relative;
    width: 100%;
    min-height: 570px;
    padding: 0 0 105px !important;
    overflow: hidden;
    color: #fff;
    background: #073a7a;
    isolation: isolate;
}

/* Background image */
.rd-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

    .rd-hero-bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 40%;
    }

/* Blue overlay */
.rd-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient( 90deg, rgba(3, 42, 94, .98) 0%, rgba(7, 56, 116, .92) 40%, rgba(7, 56, 116, .62) 70%, rgba(3, 42, 94, .58) 100% );
}

/* Main content */
.rd-hero-container {
    position: relative;
    z-index: 2;
}

.rd-hero-content {
    min-height: 465px;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
    gap: 30px;
    padding: 35px 0 20px;
}

/* Left heading */
.rd-hero-text {
    max-width: 750px;
}

.rd-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 22px;
    color: #b9d9ff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
}

    .rd-hero-eyebrow b {
        color: #ff9b22;
    }

    .rd-hero-eyebrow i {
        display: block;
        width: 110px;
        height: 1px;
        margin-left: 5px;
        background: rgba(255,255,255,.65);
    }

.rd-hero-text h1 {
    color: #fff;
    font-size: clamp(36px, 4vw, 50px);
    font-weight: 750;
    line-height: 1.13;
    margin: 0 0 20px;
    letter-spacing: -.8px;
}

    .rd-hero-text h1 span {
        color: #ff9820;
    }

.rd-hero-description {
    max-width: 650px;
    color: #fff;
    font-size: 22px;
    line-height: 1.45;
    margin-bottom: 23px;
}

/* Explore button */
.rd-hero-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 32px;
    color: #fff !important;
    background: #ff941b;
    border-radius: 40px;
    text-decoration: none !important;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 5px 18px rgba(255,145,20,.25);
    transition: all .3s ease;
}

    .rd-hero-button:hover {
        background: #f47c00;
        transform: translateY(-3px);
        color: #fff;
    }

    .rd-hero-button i {
        font-size: 16px;
    }

/* ==========================================
   RIGHT SIDE SCIENCE / INNOVATION GRAPHIC
========================================== */

.rd-hero-visual {
    position: relative;
    width: 390px;
    height: 390px;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Orbit circles */
.rd-orbit {
    position: absolute;
    border: 1px solid rgba(91,205,255,.65);
    border-radius: 50%;
}

.rd-orbit-one {
    width: 285px;
    height: 285px;
    animation: rd-rotate 25s linear infinite;
}

.rd-orbit-two {
    width: 365px;
    height: 365px;
    border-style: dashed;
    border-color: rgba(114,208,255,.4);
    animation: rd-rotate 35s linear infinite reverse;
}

@keyframes rd-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Main glowing bulb */
.rd-glow-bulb {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 105px;
    background: radial-gradient( circle, rgba(55,177,255,.35), rgba(13,91,175,.05) 70% );
    text-shadow: 0 0 15px #49caff, 0 0 35px #29a9ff, 0 0 65px #008cff;
    animation: rd-glow 2.5s ease-in-out infinite alternate;
}

@keyframes rd-glow {
    from {
        transform: scale(.95);
        filter: brightness(.85);
    }

    to {
        transform: scale(1.08);
        filter: brightness(1.3);
    }
}

/* Floating science icons */
.rd-visual-icon {
    position: absolute;
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(111,210,255,.85);
    border-radius: 50%;
    background: rgba(13,88,166,.65);
    color: #fff;
    font-size: 27px;
    box-shadow: 0 0 18px rgba(35,171,255,.35);
    backdrop-filter: blur(5px);
}

    .rd-visual-icon.icon-microscope {
        top: 0;
        left: 43%;
    }

    .rd-visual-icon.icon-book {
        top: 25%;
        right: -2%;
    }

    .rd-visual-icon.icon-cogs {
        top: 25%;
        left: -2%;
    }

    .rd-visual-icon.icon-flask {
        bottom: 18%;
        right: 0;
    }

    .rd-visual-icon.icon-chip {
        bottom: 18%;
        left: 0;
    }

/* ==========================================
   BOTTOM WHITE NAVIGATION PANEL
========================================== */

.rd-hero-navigation {
    position: absolute;
    z-index: 5;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: min(85%, 1450px);
    min-height: 125px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: center;
    padding: 15px 12px;
    background: rgba(255,255,255,.97);
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 25px;
    box-shadow: 0 12px 35px rgba(0,28,76,.17);
}

.rd-nav-item {
    height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    color: #10376e !important;
    text-decoration: none !important;
    border-right: 1px solid #c7d8ef;
    transition: all .25s ease;
}

    .rd-nav-item:last-child {
        border-right: none;
    }

    .rd-nav-item i {
        font-size: 31px;
        color: #104582;
        transition: all .25s ease;
    }

    .rd-nav-item span {
        font-size: 15px;
        line-height: 1.35;
        font-weight: 600;
    }

    .rd-nav-item:hover {
        color: #f28b16 !important;
        transform: translateY(-4px);
    }

        .rd-nav-item:hover i {
            color: #f28b16;
        }

/* ==========================================
   TABLET RESPONSIVE
========================================== */

@media (max-width: 991px) {

    .rd-banner-new {
        min-height: 530px;
    }

    .rd-hero-content {
        grid-template-columns: 1fr .7fr;
        min-height: 420px;
    }

    .rd-hero-text h1 {
        font-size: 38px;
    }

    .rd-hero-description {
        font-size: 18px;
    }

    .rd-hero-visual {
        transform: scale(.75);
        transform-origin: center;
        width: 300px;
    }

    .rd-hero-navigation {
        width: 92%;
        min-height: 110px;
    }

    .rd-nav-item span {
        font-size: 12px;
    }

    .rd-nav-item i {
        font-size: 25px;
    }
}

/* ==========================================
   MOBILE RESPONSIVE
========================================== */

@media (max-width: 600px) {

    .rd-banner-new {
        padding-bottom: 20px !important;
        min-height: auto;
    }

    .rd-hero-bg img {
        object-position: center;
    }

    .rd-hero-overlay {
        background: rgba(3,42,94,.88);
    }

    .rd-hero-content {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 40px 0 25px;
        text-align: center;
    }

    .rd-hero-eyebrow {
        justify-content: center;
        gap: 7px;
        font-size: 10px;
        letter-spacing: 1px;
        margin-bottom: 17px;
    }

        .rd-hero-eyebrow i {
            display: none;
        }

    .rd-hero-text h1 {
        font-size: 32px;
    }

    .rd-hero-description {
        font-size: 16px;
    }

    .rd-hero-visual {
        width: 250px;
        height: 250px;
        transform: scale(.78);
        margin: -5px auto -15px;
    }

    .rd-orbit-one {
        width: 210px;
        height: 210px;
    }

    .rd-orbit-two {
        width: 245px;
        height: 245px;
    }

    .rd-glow-bulb {
        font-size: 75px;
        width: 120px;
        height: 120px;
    }

    .rd-visual-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .rd-hero-navigation {
        position: relative;
        left: auto;
        bottom: auto;
        transform: none;
        width: 94%;
        margin: 0 auto;
        grid-template-columns: repeat(3, 1fr);
        padding: 12px 5px;
        border-radius: 15px;
    }

    .rd-nav-item {
        height: 85px;
        border-right: none;
        border-bottom: 1px solid #d5e1f1;
    }

        .rd-nav-item:nth-child(3n) {
            border-right: none;
        }

        .rd-nav-item:nth-child(n+4) {
            border-bottom: none;
        }

        .rd-nav-item i {
            font-size: 23px;
        }

        .rd-nav-item span {
            font-size: 11px;
        }
}
