/* =========================================================
   VELLANKI SOFTECH - CLASSIC PREMIUM STYLE
   Logo palette:
   Navy / Royal Blue / Magenta + neutral white/gray
   ========================================================= */

:root {
    --vs-navy: #001963;
    --vs-blue: #1237b8;
    --vs-blue-soft: #eaf0ff;
    --vs-magenta: #8d007d;
    --vs-magenta-dark: #62005a;
    --vs-magenta-soft: #f7e9f5;
    --vs-text: #172033;
    --vs-muted: #64748b;
    --vs-border: #e4e8f0;
    --vs-bg: #f7f8fc;
    --vs-white: #ffffff;
    --vs-shadow: 0 16px 45px rgba(0, 25, 99, .08);
    --vs-shadow-lg: 0 25px 65px rgba(0, 25, 99, .13);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    color: var(--vs-text);
    background: var(--vs-bg);
    line-height: 1.65;
}

a { color: var(--vs-navy); }
img { max-width: 100%; }

.classic-nav {
    min-height: 76px;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid var(--vs-border);
    box-shadow: 0 5px 20px rgba(0,25,99,.06);
    backdrop-filter: blur(12px);
}

.brand-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--vs-navy) !important;
    text-decoration: none;
}

.brand-wrap img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.brand-wrap strong {
    display: block;
    font-size: 20px;
    line-height: 1.1;
    font-weight: 800;
    color: var(--vs-navy);
}

.brand-wrap small {
    display: block;
    color: var(--vs-magenta);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .45px;
    text-transform: uppercase;
}

.classic-nav .nav-link {
    color: #334155 !important;
    font-size: 14px;
    font-weight: 650;
    padding: 9px 11px !important;
    border-radius: 8px;
    transition: .2s ease;
}

.classic-nav .nav-link:hover,
.classic-nav .nav-link.active {
    color: var(--vs-navy) !important;
    background: var(--vs-blue-soft);
}

.classic-nav .navbar-toggler {
    border: 1px solid var(--vs-border);
    padding: 6px 9px;
}

.btn-brand {
    background: linear-gradient(135deg, var(--vs-navy), var(--vs-magenta));
    border: 0;
    color: #fff !important;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(98,0,90,.16);
}

.btn-brand:hover {
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 11px 25px rgba(98,0,90,.23);
}

.btn-outline-brand {
    border: 1px solid var(--vs-navy);
    color: var(--vs-navy);
    font-weight: 700;
}

.btn-outline-brand:hover {
    background: var(--vs-navy);
    color: #fff;
}

/* Hero */
.hero {
    min-height: 700px;
    display: flex;
    align-items: center;
    padding: 110px 0 90px;
    color: #fff;
    background:
        radial-gradient(circle at 82% 25%, rgba(141,0,125,.22), transparent 27%),
        radial-gradient(circle at 15% 80%, rgba(18,55,184,.20), transparent 28%),
        linear-gradient(135deg, #00134d, #001963 55%, #35002f);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.hero-content { position: relative; z-index: 2; }

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 30px;
    color: #fff;
    background: rgba(255,255,255,.07);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero h1 {
    margin: 22px 0 18px;
    font-size: clamp(2.5rem, 6vw, 5.1rem);
    line-height: 1.04;
    font-weight: 850;
    letter-spacing: -2px;
}

.hero h1 span {
    background: linear-gradient(90deg, #fff, #f4c6ef);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    max-width: 700px;
    color: #dbe4ff;
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero .btn-light {
    color: var(--vs-navy);
    font-weight: 800;
}

.hero-visual {
    position: relative;
    min-height: 430px;
    display: grid;
    place-items: center;
}

.hero-orb {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.22);
    box-shadow:
        0 0 0 25px rgba(255,255,255,.025),
        0 0 0 70px rgba(255,255,255,.018),
        0 0 80px rgba(141,0,125,.24);
    position: relative;
}

.hero-orb::before,
.hero-orb::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
}

.hero-orb::before { inset: 45px; }
.hero-orb::after { inset: 100px; }

.hero-logo {
    position: absolute;
    width: 180px;
    height: 180px;
    object-fit: contain;
    filter: drop-shadow(0 10px 25px rgba(0,0,0,.22));
}

.tech-pill {
    position: absolute;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 12px;
    background: rgba(255,255,255,.08);
    color: #fff;
    backdrop-filter: blur(12px);
    font-size: 12px;
    font-weight: 700;
    animation: vsFloat 4s ease-in-out infinite;
}

.p1 { left: 2%; top: 16%; }
.p2 { right: 2%; top: 31%; animation-delay: 1s; }
.p3 { left: 10%; bottom: 11%; animation-delay: 2s; }

@keyframes vsFloat {
    50% { transform: translateY(-10px); }
}

/* Sections */
.section { padding: 90px 0; }

.section-label {
    display: inline-block;
    color: var(--vs-magenta);
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 9px;
}

.section-title {
    margin: 0 0 14px;
    color: var(--vs-navy);
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.12;
    font-weight: 850;
    letter-spacing: -1px;
}

.section-lead {
    max-width: 760px;
    color: var(--vs-muted);
    font-size: 16px;
}

.gradient-text {
    background: linear-gradient(90deg, var(--vs-navy), var(--vs-magenta));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* About */
.about-section {
    padding: 95px 0;
    background: #fff;
}

.about-label {
    color: var(--vs-blue);
    font-size: 14px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-title {
    color: var(--vs-navy);
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    line-height: 1.08;
    font-weight: 850;
    letter-spacing: -1.4px;
    margin: 10px 0 20px;
}

.about-text {
    color: #526176;
    font-size: 16px;
    line-height: 1.8;
}

.about-text strong { color: var(--vs-navy); }

.about-btn {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin-top: 10px;
    padding: 11px 19px;
    border-radius: 9px;
    background: var(--vs-navy);
    color: #fff !important;
    text-decoration: none;
    font-weight: 750;
    transition: .2s ease;
}

.about-btn:hover {
    background: var(--vs-magenta);
    transform: translateY(-2px);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.about-feature {
    padding: 23px;
    border: 1px solid var(--vs-border);
    border-radius: 17px;
    background: #fff;
    box-shadow: var(--vs-shadow);
    transition: .25s ease;
}

.about-feature:hover {
    transform: translateY(-5px);
    border-color: #d5c1d2;
    box-shadow: var(--vs-shadow-lg);
}

.feature-icon {
    width: 47px;
    height: 47px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 13px;
    background: var(--vs-magenta-soft);
    color: var(--vs-magenta);
    font-size: 18px;
}

.feature-title {
    margin: 0 0 7px;
    color: var(--vs-navy);
    font-size: 16px;
    font-weight: 800;
}

.feature-text {
    margin: 0;
    color: var(--vs-muted);
    font-size: 13px;
}

/* Cards */
.cardx {
    height: 100%;
    background: #fff;
    border: 1px solid var(--vs-border);
    border-radius: 18px;
    box-shadow: var(--vs-shadow);
    transition: .25s ease;
    overflow: hidden;
}

.cardx:hover {
    transform: translateY(-5px);
    box-shadow: var(--vs-shadow-lg);
}

.iconbox {
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: var(--vs-blue-soft);
    color: var(--vs-navy);
    font-size: 22px;
}

.course-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.course-placeholder {
    height: 190px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--vs-navy), var(--vs-magenta));
    font-size: 42px;
}

/* Dark section */
.dark-section {
    background: linear-gradient(135deg, #00134d, #001963 60%, #42003a);
    color: #fff;
}

.dark-section .section-title { color: #fff; }
.dark-section .section-lead { color: #dbe4ff; }

/* Page hero */
.page-hero {
    padding: 70px 0;
    color: #fff;
    background: linear-gradient(135deg, var(--vs-navy), var(--vs-magenta-dark));
}

.page-hero h1 {
    margin: 0;
    font-weight: 850;
    font-size: clamp(2rem, 5vw, 3.6rem);
}

.page-hero p {
    margin: 10px 0 0;
    color: #e9dded;
}

/* Forms */
.form-control,
.form-select {
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid #d8deea;
    border-radius: 9px;
    color: var(--vs-text);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--vs-magenta);
    box-shadow: 0 0 0 3px rgba(141,0,125,.10);
}

textarea.form-control { min-height: 130px; }

/* Footer */
.footer-main {
    color: #aeb9d2;
    background: #020b28;
}

.footer-logo {
    width: 170px;
    height: 80px;
    object-fit: contain;
    object-position: left center;
}

.footer-main h5 {
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 15px;
}

.footer-main a {
    display: block;
    color: #aeb9d2;
    text-decoration: none;
    margin: 7px 0;
}

.footer-main a:hover { color: #fff; }

.footer-admin {
    color: #e6b4df !important;
}

.footer-bottom {
    padding: 15px 0;
    color: #8794b1;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: 12px;
}

/* Floating contact */
.float-wa {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--vs-magenta);
    color: #fff !important;
    text-decoration: none;
    font-size: 25px;
    z-index: 9999;
    box-shadow: 0 12px 30px rgba(98,0,90,.28);
}

/* Alerts */
.alert {
    border-radius: 9px;
}

/* Tables */
.table thead th {
    background: var(--vs-navy);
    color: #fff;
    border: 0;
    font-size: 13px;
}

.table tbody td { vertical-align: middle; }

/* Responsive */
@media (max-width: 991px) {
    .classic-nav .navbar-collapse {
        padding: 12px 0;
    }

    .hero {
        padding: 95px 0 70px;
    }

    .hero-visual {
        min-height: 360px;
        margin-top: 35px;
    }
}

@media (max-width: 767px) {
    .section,
    .about-section {
        padding: 65px 0;
    }

    .hero {
        min-height: auto;
        padding: 90px 0 65px;
    }

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

    .hero-orb {
        width: 280px;
        height: 280px;
    }

    .hero-logo {
        width: 140px;
        height: 140px;
    }

    .tech-pill {
        font-size: 10px;
        padding: 8px 10px;
    }

    .about-features {
        grid-template-columns: 1fr;
        margin-top: 25px;
    }

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

@media (max-width: 480px) {
    .brand-wrap img {
        width: 44px;
        height: 44px;
    }

    .brand-wrap strong { font-size: 17px; }
    .brand-wrap small { font-size: 8px; }

    .hero h1 { font-size: 2.45rem; }
    .hero-visual { min-height: 300px; }
    .hero-orb { width: 230px; height: 230px; }
    .hero-logo { width: 115px; height: 115px; }

    .p1 { left: -3px; }
    .p2 { right: -3px; }
    .p3 { left: 0; }
}
