/* ==============================
   Alekhya – Drafting Help
   Light & Editorial Theme
   Colour Palette:
     Primary:   #1C2140 (Deep Indigo)
     Amber:     #C97B0A (Rich Amber)
     Sage:      #5A8A58 (Deeper Sage)
     Cream BG:  #FAFAF8 (Warm Cream)
     Alt BG:    #F4F2EC (Warm Parchment)
   Fonts: Poppins (headings), Inter (body), Playfair Display (accents)
   ============================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;1,400;1,600&display=swap');

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #2c2c3a;
    background: #FAFAF8;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4, h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: #1C2140;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 112px 0;
}

.section-header {
    text-align: center;
    max-width: 740px;
    margin: 0 auto 72px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #C97B0A;
    margin-bottom: 16px;
}

.section-tag::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: #C97B0A;
    border-radius: 2px;
}

.section-title {
    font-size: 2.625rem;
    color: #1C2140;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 1.0625rem;
    color: #666;
    line-height: 1.75;
}

/* --- Scroll Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }
.reveal-delay-6 { transition-delay: 0.48s; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 14px 30px;
    border-radius: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.btn i {
    font-size: 0.875rem;
    transition: transform 0.2s ease;
}

.btn:hover i {
    transform: translateX(3px);
}

.btn-primary {
    background: #C97B0A;
    color: #fff;
    border-color: #C97B0A;
    box-shadow: 0 4px 16px rgba(201, 123, 10, 0.25);
}

.btn-primary:hover {
    background: #b36c08;
    border-color: #b36c08;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(201, 123, 10, 0.35);
}

.btn-secondary {
    background: transparent;
    color: #1C2140;
    border-color: rgba(28, 33, 64, 0.25);
}

.btn-secondary:hover {
    background: #1C2140;
    color: #fff;
    border-color: #1C2140;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #1C2140;
    border-color: rgba(28, 33, 64, 0.2);
    font-size: 0.875rem;
    padding: 10px 20px;
}

.btn-outline:hover {
    background: #1C2140;
    color: #fff;
    border-color: #1C2140;
}

.btn-success {
    background: #25D366 !important;
    border-color: #25D366 !important;
    color: #fff !important;
}

.btn-success:hover {
    background: #1fb959 !important;
    border-color: #1fb959 !important;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.0625rem;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.8125rem;
}

.btn-nav {
    background: #C97B0A;
    color: #fff !important;
    padding: 10px 22px !important;
    border-radius: 10px;
    font-size: 0.875rem !important;
    box-shadow: 0 4px 12px rgba(201, 123, 10, 0.25);
}

.btn-nav:hover {
    background: #b36c08 !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(201, 123, 10, 0.35) !important;
}

/* --- Top Bar --- */
.topbar {
    background: #F4F2EC;
    color: #555;
    font-size: 0.8125rem;
    padding: 9px 0;
    border-bottom: 1px solid rgba(100, 90, 70, 0.1);
    display: none;
}

.topbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar-contact {
    display: flex;
    align-items: center;
    gap: 24px;
}

.topbar-contact a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #555;
    transition: color 0.2s ease;
}

.topbar-contact a:hover {
    color: #C97B0A;
}

.topbar-contact i {
    font-size: 0.75rem;
    color: #C97B0A;
}

.topbar-tag {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.6875rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #C97B0A;
}

@media (min-width: 769px) {
    .topbar {
        display: block;
    }
}

/* --- Inline CTA --- */
.cta-inline {
    background: linear-gradient(135deg, #C97B0A 0%, #b36c08 100%);
    padding: 32px 0;
}

.cta-inline .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cta-inline p {
    font-size: 1.125rem;
    color: #fff;
    font-weight: 500;
}

.cta-inline .btn-primary {
    background: #1C2140;
    border-color: #1C2140;
    color: #fff;
    white-space: nowrap;
}

.cta-inline .btn-primary:hover {
    background: #121830;
    border-color: #121830;
    box-shadow: 0 8px 24px rgba(28, 33, 64, 0.3);
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 248, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(100, 90, 70, 0.09);
    transition: all 0.3s ease;
}

@media (min-width: 769px) {
    .navbar {
        top: 38px;
    }
}

.navbar.scrolled {
    box-shadow: 0 4px 32px rgba(28, 33, 64, 0.07);
    border-bottom-color: rgba(100, 90, 70, 0.13);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #1C2140, #2e3560);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    border-radius: 11px;
    box-shadow: 0 4px 12px rgba(28, 33, 64, 0.2);
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.375rem;
    color: #1C2140;
    letter-spacing: -0.3px;
}

.logo-text span {
    color: #C97B0A;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: #444;
    transition: color 0.2s ease;
    position: relative;
    padding-bottom: 2px;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #C97B0A;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #1C2140;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1C2140;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* --- Nav Dropdown --- */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .nav-link i {
    font-size: 0.625rem;
    margin-left: 4px;
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(28, 33, 64, 0.12), 0 4px 16px rgba(28, 33, 64, 0.06);
    padding: 16px;
    min-width: 300px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(100, 90, 70, 0.08);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

.dropdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 9px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #444;
    transition: all 0.2s ease;
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    color: #C97B0A;
    font-size: 0.875rem;
}

.dropdown-item:hover {
    background: #F4F2EC;
    color: #1C2140;
}

.dropdown-item-wide {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(100, 90, 70, 0.08);
    margin-top: 4px;
    padding-top: 12px;
}

/* --- Hero Section --- */
.hero {
    padding: 0;
    background: linear-gradient(150deg, #FAFAF8 0%, #F4F2EC 60%, #EDE9DF 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 123, 10, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(28, 33, 64, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 80px;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.hero-rule {
    display: inline-block;
    width: 36px;
    height: 3px;
    background: #C97B0A;
    border-radius: 3px;
    flex-shrink: 0;
}

.hero-eyebrow-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #C97B0A;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 22px;
    color: #1C2140;
    letter-spacing: -1px;
}

.hero-title em {
    font-style: normal;
    color: #C97B0A;
}

.hero-subtitle {
    font-size: 1.0625rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid rgba(100, 90, 70, 0.12);
}

.hero-trust-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #999;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}

.hero-trust-items {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-trust-item {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #888;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual-panel {
    position: relative;
    width: 100%;
    max-width: 440px;
    height: 420px;
}

/* Floating cards inside hero visual */
.hv-card {
    position: absolute;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(28, 33, 64, 0.10), 0 2px 8px rgba(28, 33, 64, 0.05);
    border: 1px solid rgba(100, 90, 70, 0.08);
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    animation: floatCard 5s ease-in-out infinite;
}

.hv-card:nth-child(2) { animation-delay: -1.5s; animation-duration: 6s; }
.hv-card:nth-child(3) { animation-delay: -3s; animation-duration: 5.5s; }
.hv-card:nth-child(4) { animation-delay: -0.8s; animation-duration: 7s; }

@keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.hv-card-1 { top: 0; left: 0; width: 200px; }
.hv-card-2 { top: 20px; right: 0; width: 190px; }
.hv-card-3 { bottom: 60px; left: 20px; width: 180px; }
.hv-card-4 { bottom: 20px; right: 10px; width: 210px; }

.hv-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.hv-card-icon.amber { background: rgba(201, 123, 10, 0.1); color: #C97B0A; }
.hv-card-icon.indigo { background: rgba(28, 33, 64, 0.08); color: #1C2140; }
.hv-card-icon.sage { background: rgba(90, 138, 88, 0.1); color: #5A8A58; }

.hv-card-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hv-card-label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #1C2140;
    line-height: 1.2;
}

.hv-card-sub {
    font-size: 0.6875rem;
    color: #999;
}

/* Central decorative circle */
.hv-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(201, 123, 10, 0.08), rgba(28, 33, 64, 0.05));
    border: 2px dashed rgba(201, 123, 10, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: spin 30s linear infinite;
}

@keyframes spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hv-center-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #C97B0A;
    border-radius: 50%;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
}

.hv-center-inner {
    width: 100px;
    height: 100px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(28, 33, 64, 0.08);
    animation: spin 30s linear infinite reverse;
    font-size: 2rem;
    color: #C97B0A;
}

/* --- Who We Are Section --- */
.who-we-are {
    background: #fff;
}

.who-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 56px;
    align-items: center;
}

.who-intro {
    border-left: 4px solid #C97B0A;
    padding-left: 32px;
}

.who-intro p {
    font-size: 0.9375rem;
    color: #555;
    line-height: 1.75;
    margin-bottom: 28px;
}

.who-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
}

.who-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #333;
    background: #FAFAF8;
    padding: 9px 14px;
    border-radius: 8px;
    border: 1px solid rgba(100, 90, 70, 0.09);
    transition: all 0.2s ease;
}

.who-benefits li:hover {
    border-color: rgba(201, 123, 10, 0.25);
    background: #fff;
}

.who-benefits li i {
    color: #5A8A58;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.who-icon-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.who-icon-card {
    text-align: center;
    padding: 36px 16px 28px;
    background: #FAFAF8;
    border-radius: 18px;
    border: 1px solid rgba(100, 90, 70, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.who-icon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #C97B0A, #e8a422);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.who-icon-card:hover::before {
    transform: scaleX(1);
}

.who-icon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(28, 33, 64, 0.08);
    border-color: rgba(201, 123, 10, 0.15);
    background: #fff;
}

.who-icon-card i {
    font-size: 2.25rem;
    color: #C97B0A;
    margin-bottom: 14px;
}

.who-icon-card span {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    color: #1C2140;
}

/* --- Services Grid Section --- */
.services-grid {
    background: #F4F2EC;
    position: relative;
    overflow: hidden;
}

/* Subtle dot pattern */
.services-grid::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(28, 33, 64, 0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.sgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
}

.sgrid-card {
    background: #fff;
    padding: 36px 28px 28px;
    border-radius: 20px;
    border: 1px solid rgba(100, 90, 70, 0.08);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Amber top accent bar */
.sgrid-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #C97B0A, #e8a422);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.sgrid-card:hover::before {
    transform: scaleX(1);
}

.sgrid-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 56px rgba(28, 33, 64, 0.10), 0 4px 16px rgba(201, 123, 10, 0.06);
    border-color: rgba(201, 123, 10, 0.15);
}

/* Featured card variant */
.sgrid-card--featured {
    background: linear-gradient(160deg, #1C2140 0%, #2e3560 100%);
    border-color: transparent;
}

.sgrid-card--featured::before {
    background: linear-gradient(90deg, #C97B0A, #e8a422);
    transform: scaleX(1);
}

.sgrid-card--featured:hover {
    box-shadow: 0 24px 56px rgba(28, 33, 64, 0.25);
    border-color: rgba(201, 123, 10, 0.3);
}

.sgrid-card--featured h3 {
    color: #fff;
}

.sgrid-card--featured p {
    color: rgba(255, 255, 255, 0.72);
}

.sgrid-card--featured a {
    color: #C97B0A;
}

.sgrid-card--featured .sgrid-num {
    color: rgba(255, 255, 255, 0.1);
}

.sgrid-card--featured .sgrid-tags span {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Card top row: number + icon */
.sgrid-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}

.sgrid-num {
    font-family: 'Poppins', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    color: rgba(201, 123, 10, 0.12);
    line-height: 1;
    letter-spacing: -2px;
    transition: color 0.3s ease;
}

.sgrid-card:hover .sgrid-num {
    color: rgba(201, 123, 10, 0.22);
}

.sgrid-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(201, 123, 10, 0.12), rgba(201, 123, 10, 0.04));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #C97B0A;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.sgrid-card:hover .sgrid-icon {
    background: linear-gradient(135deg, rgba(201, 123, 10, 0.2), rgba(201, 123, 10, 0.08));
    transform: scale(1.05);
}

/* "Most Comprehensive" badge */
.sgrid-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #C97B0A;
    background: rgba(201, 123, 10, 0.15);
    border: 1px solid rgba(201, 123, 10, 0.25);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
    width: fit-content;
}

.sgrid-card h3 {
    font-size: 1.125rem;
    margin-bottom: 10px;
    letter-spacing: -0.2px;
}

.sgrid-card p {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Feature tag chips */
.sgrid-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.sgrid-tags span {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #888;
    background: #F4F2EC;
    border: 1px solid rgba(100, 90, 70, 0.1);
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 0.3px;
}

.sgrid-card a {
    font-size: 0.875rem;
    font-weight: 700;
    color: #C97B0A;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
}

.sgrid-card a i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.sgrid-card a:hover {
    color: #b36c08;
}

.sgrid-card a:hover i {
    transform: translateX(5px);
}


/* --- Academic Projects Section --- */
.academic-projects {
    background: #fff;
    position: relative;
}

.aproj-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.aproj-card {
    background: #FAFAF8;
    border: 1px solid rgba(100, 90, 70, 0.09);
    border-radius: 18px;
    padding: 24px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.aproj-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #C97B0A, #e8a422);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.aproj-card:hover::after {
    transform: scaleX(1);
}

.aproj-card:hover {
    background: #fff;
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(28, 33, 64, 0.08);
    border-color: rgba(201, 123, 10, 0.15);
}

/* Highlighted card (M.Tech) */
.aproj-card--highlight {
    background: linear-gradient(160deg, #1C2140 0%, #2e3560 100%);
    border-color: transparent;
}

.aproj-card--highlight::after {
    transform: scaleX(1);
}

.aproj-card--highlight:hover {
    background: linear-gradient(160deg, #222847 0%, #344070 100%);
    box-shadow: 0 20px 48px rgba(28, 33, 64, 0.25);
    border-color: rgba(201, 123, 10, 0.3);
}

.aproj-card--highlight h3 {
    color: #fff;
}

.aproj-card--highlight p {
    color: rgba(255, 255, 255, 0.7);
}

.aproj-card--highlight .aproj-meta span {
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
}

.aproj-card--highlight .aproj-meta i {
    color: #C97B0A;
}

.aproj-card--highlight .btn-outline {
    color: #C97B0A;
    border-color: rgba(201, 123, 10, 0.4);
}

.aproj-card--highlight .btn-outline:hover {
    background: #C97B0A;
    border-color: #C97B0A;
    color: #fff;
}

/* Card header: icon + level badge */
.aproj-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.aproj-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(201, 123, 10, 0.12), rgba(201, 123, 10, 0.04));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    color: #C97B0A;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.aproj-card:hover .aproj-icon {
    background: linear-gradient(135deg, rgba(201, 123, 10, 0.2), rgba(201, 123, 10, 0.08));
    transform: scale(1.05);
}

.aproj-level {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #C97B0A;
    background: rgba(201, 123, 10, 0.09);
    border: 1px solid rgba(201, 123, 10, 0.18);
    padding: 4px 10px;
    border-radius: 999px;
}

.aproj-card h3 {
    font-size: 1rem;
    color: #1C2140;
    line-height: 1.3;
    letter-spacing: -0.2px;
}

.aproj-card p {
    font-size: 0.8125rem;
    color: #666;
    line-height: 1.65;
    flex-grow: 1;
}

/* Word count + audience row */
.aproj-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.aproj-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #888;
    background: #F4F2EC;
    border: 1px solid rgba(100, 90, 70, 0.1);
    padding: 4px 10px;
    border-radius: 999px;
}

.aproj-meta i {
    font-size: 0.6875rem;
    color: #C97B0A;
}

/* CTA banner */
.aproj-cta {
    background: #F4F2EC;
    border-radius: 16px;
    padding: 28px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    border: 1px solid rgba(100, 90, 70, 0.1);
}

.aproj-cta p {
    font-size: 1rem;
    color: #444;
    flex: 1;
    min-width: 260px;
    line-height: 1.6;
}

.aproj-cta p strong {
    color: #1C2140;
}

/* Responsive */
@media (max-width: 1200px) {
    .aproj-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (max-width: 600px) {
    .aproj-grid {
        grid-template-columns: 1fr;
    }

    .aproj-cta {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
}


/* --- Why Choose Section --- */
.why-choose {
    background: #1C2140;
    position: relative;
    overflow: hidden;
}

.why-choose::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 123, 10, 0.10), transparent 70%);
    pointer-events: none;
}

.why-choose::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255,255,255, 0.03), transparent 70%);
    pointer-events: none;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.why-left .section-tag {
    color: #C97B0A;
}

.why-left .section-tag::before {
    background: #C97B0A;
}

.why-heading {
    font-size: 2.375rem;
    color: #fff;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.why-left p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.75;
    margin-bottom: 16px;
}

.why-left .btn-primary {
    margin-top: 8px;
}

.why-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.why-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: all 0.3s ease;
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(201, 123, 10, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.why-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(201, 123, 10, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #C97B0A;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.why-card:hover .why-card-icon {
    background: rgba(201, 123, 10, 0.25);
}

.why-card-body h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.why-card-body p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .why-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .why-heading {
        font-size: 1.875rem;
    }

    .why-right {
        grid-template-columns: 1fr 1fr;
    }
}

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


/* --- Quote Section --- */
.quote-section {
    background: #F4F2EC;
    position: relative;
    overflow: hidden;
}

.quote-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(28, 33, 64, 0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.quote-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    align-items: start;
    position: relative;
}

.quote-form {
    background: #fff;
    padding: 44px;
    border-radius: 20px;
    border: 1px solid rgba(100, 90, 70, 0.09);
    border-left: 4px solid #C97B0A;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    box-shadow: 0 8px 40px rgba(28, 33, 64, 0.06);
}

.quote-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid rgba(100, 90, 70, 0.12);
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    color: #333;
    background: #FAFAF8;
    transition: all 0.25s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231C2140' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
}

.quote-form select:focus {
    outline: none;
    border-color: #C97B0A;
    box-shadow: 0 0 0 3px rgba(201, 123, 10, 0.12);
    background-color: #fff;
}

.quote-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.quote-testimonial {
    background: #fff;
    padding: 28px;
    border-radius: 16px;
    border: 1px solid rgba(100, 90, 70, 0.09);
    position: relative;
    box-shadow: 0 4px 20px rgba(28, 33, 64, 0.05);
}

.quote-testimonial::before {
    content: '\201C';
    position: absolute;
    top: -12px;
    left: 24px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 4rem;
    color: #C97B0A;
    line-height: 1;
    opacity: 0.4;
}

.quote-testimonial i {
    display: none;
}

.quote-testimonial p {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 0.9375rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 10px;
    margin-top: 12px;
}

.quote-testimonial span {
    font-size: 0.75rem;
    color: #999;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

/* --- Promise Section --- */
.promise {
    background: #fff;
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.promise-card {
    padding: 44px 32px;
    border-radius: 18px;
    background: #FAFAF8;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(100, 90, 70, 0.08);
    position: relative;
    overflow: hidden;
}

.promise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #C97B0A, #e8a422);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.promise-card:hover::before {
    transform: scaleX(1);
}

.promise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(28, 33, 64, 0.07);
    border-color: rgba(201, 123, 10, 0.12);
    background: #fff;
}

.promise-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 22px;
    background: linear-gradient(135deg, rgba(201, 123, 10, 0.1), rgba(201, 123, 10, 0.04));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.625rem;
    color: #C97B0A;
}

.promise-card h3 {
    font-size: 1.125rem;
    margin-bottom: 12px;
    letter-spacing: -0.2px;
}

.promise-card p {
    font-size: 0.9375rem;
    color: #666;
    line-height: 1.7;
}

/* --- How It Works --- */
.how-it-works {
    background: #FAFAF8;
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(201, 123, 10, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

/* Connecting line between steps */
.steps::before {
    content: '';
    position: absolute;
    top: 36px;
    left: calc(12.5% + 24px);
    right: calc(12.5% + 24px);
    height: 2px;
    background: linear-gradient(90deg, #C97B0A, rgba(201, 123, 10, 0.15));
    z-index: 0;
}

.step {
    text-align: center;
    padding: 36px 24px 28px;
    background: #fff;
    border-radius: 18px;
    transition: all 0.3s ease;
    border: 1px solid rgba(100, 90, 70, 0.08);
    position: relative;
    z-index: 1;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(28, 33, 64, 0.07);
    border-color: rgba(201, 123, 10, 0.15);
}

.step-number {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(201, 123, 10, 0.15);
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -2px;
    transition: color 0.3s ease;
}

.step:hover .step-number {
    color: rgba(201, 123, 10, 0.3);
}

.step h3 {
    font-size: 1.0625rem;
    margin-bottom: 10px;
    letter-spacing: -0.2px;
}

.step p {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.65;
}

.step-divider {
    display: none;
}

/* --- Testimonials --- */
.testimonials {
    background: #fff;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: #FAFAF8;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(100, 90, 70, 0.09);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 16px;
    right: 28px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 6rem;
    color: #C97B0A;
    line-height: 1;
    opacity: 0.1;
    pointer-events: none;
}

.testimonial-card:hover {
    box-shadow: 0 16px 48px rgba(28, 33, 64, 0.07);
    transform: translateY(-3px);
    border-color: rgba(201, 123, 10, 0.12);
    background: #fff;
}

.testimonial-stars {
    color: #C97B0A;
    margin-bottom: 20px;
    font-size: 0.875rem;
    letter-spacing: 2px;
}

.testimonial-card > p {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 1rem;
    color: #333;
    line-height: 1.75;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid rgba(100, 90, 70, 0.1);
}

.testimonial-avatar {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, #1C2140, #2e3560);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9375rem;
    color: #1C2140;
    font-family: 'Poppins', sans-serif;
}

.testimonial-author span {
    font-size: 0.8125rem;
    color: #999;
    font-weight: 500;
}

/* --- About Section --- */
.about {
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.about-story h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.about-story p {
    font-size: 0.9375rem;
    color: #555;
    line-height: 1.75;
    margin-bottom: 12px;
}

.mission-item {
    background: #F4F2EC;
    padding: 28px;
    border-radius: 12px;
    margin-bottom: 16px;
    border-left: 4px solid #C97B0A;
}

.mission-label {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    color: #1C2140;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mission-item p {
    font-size: 0.9375rem;
    color: #555;
    line-height: 1.7;
}

/* --- FAQ Section --- */
.faq {
    background: #F4F2EC;
    position: relative;
    overflow: hidden;
}

.faq::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(28, 33, 64, 0.03) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.faq-list {
    max-width: 740px;
    margin: 0 auto;
    position: relative;
}

.faq-item {
    background: #fff;
    border-radius: 14px;
    margin-bottom: 10px;
    border: 1px solid rgba(100, 90, 70, 0.09);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(28, 33, 64, 0.03);
}

.faq-item.active {
    border-color: rgba(201, 123, 10, 0.2);
    box-shadow: 0 4px 20px rgba(201, 123, 10, 0.07);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 26px;
    background: none;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #1C2140;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    gap: 16px;
}

.faq-question:hover {
    background: rgba(201, 123, 10, 0.03);
}

.faq-question span {
    flex: 1;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: #C97B0A;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.faq-item.active .faq-question {
    color: #C97B0A;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 26px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 26px 22px;
}

.faq-answer p {
    font-size: 0.9375rem;
    color: #666;
    line-height: 1.75;
    border-top: 1px solid rgba(100, 90, 70, 0.1);
    padding-top: 16px;
}

/* --- Guarantee Section --- */
.guarantee {
    background: #fff;
}

.guarantee-card {
    text-align: center;
    background: linear-gradient(150deg, #1C2140 0%, #2e3560 100%);
    padding: 72px 48px;
    border-radius: 28px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.guarantee-card::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 123, 10, 0.12), transparent 70%);
    pointer-events: none;
}

.guarantee-icon {
    font-size: 3.5rem;
    color: #C97B0A;
    margin-bottom: 20px;
}

.guarantee-title {
    font-size: 2.375rem;
    color: #fff;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.guarantee-text {
    font-size: 1.0625rem;
    opacity: 0.88;
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.75;
}

.guarantee-text em {
    display: block;
    font-size: 0.875rem;
    opacity: 0.65;
    margin-top: 10px;
    font-style: normal;
}

.guarantee-card .btn-primary {
    background: #C97B0A;
    border-color: #C97B0A;
}

.guarantee-card .btn-primary:hover {
    background: #b36c08;
    border-color: #b36c08;
}

/* --- Contact Section --- */
.contact {
    background: #FAFAF8;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-form {
    background: #fff;
    padding: 44px;
    border-radius: 20px;
    border: 1px solid rgba(100, 90, 70, 0.09);
    border-left: 4px solid #C97B0A;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    box-shadow: 0 8px 40px rgba(28, 33, 64, 0.06);
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #1C2140;
    margin-bottom: 7px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid rgba(100, 90, 70, 0.12);
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    color: #333;
    background: #FAFAF8;
    transition: all 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #C97B0A;
    box-shadow: 0 0 0 3px rgba(201, 123, 10, 0.12);
    background: #FFFDF8;
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
}

.btn-submit {
    grid-column: 1 / -1;
    justify-content: center;
    padding: 16px;
}

.quick-reply-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #1C2140;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-reply-label i {
    color: #C97B0A;
}

.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.quick-reply {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1.5px solid rgba(100, 90, 70, 0.14);
    background: #FAFAF8;
    font-family: 'Inter', sans-serif;
    font-size: 0.84375rem;
    font-weight: 600;
    color: #1C2140;
    cursor: pointer;
    transition: all 0.25s ease;
}

.quick-reply i {
    color: #C97B0A;
    font-size: 0.8125rem;
}

.quick-reply:hover {
    background: #1C2140;
    border-color: #1C2140;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(28, 33, 64, 0.15);
}

.quick-reply:hover i {
    color: #C97B0A;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    padding: 22px;
    border-radius: 14px;
    border: 1px solid rgba(100, 90, 70, 0.09);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(28, 33, 64, 0.04);
}

.contact-item:hover {
    border-color: rgba(201, 123, 10, 0.2);
    box-shadow: 0 6px 24px rgba(201, 123, 10, 0.07);
}

.contact-item i {
    font-size: 1.5rem;
    color: #C97B0A;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 0.9375rem;
    margin-bottom: 4px;
}

.contact-item a,
.contact-item p {
    font-size: 0.875rem;
    color: #666;
}

.contact-item a:hover {
    color: #C97B0A;
}

/* --- Footer (Light Theme) --- */
.footer {
    background: #1C2140;
    color: rgba(255, 255, 255, 0.78);
    padding: 72px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #C97B0A, #e8a422, #C97B0A);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-brand .logo-text {
    color: #fff;
}

.footer-brand .logo-icon {
    background: linear-gradient(135deg, #C97B0A, #e8a422);
}

.footer-brand p {
    margin: 16px 0 24px;
    font-size: 0.875rem;
    line-height: 1.75;
    max-width: 320px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-tagline {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 1rem;
    color: rgba(201, 123, 10, 0.85);
    margin-bottom: 16px !important;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.65);
    transition: all 0.25s ease;
    font-size: 0.875rem;
}

.footer-social a:hover {
    background: #C97B0A;
    border-color: #C97B0A;
    color: #fff;
    transform: translateY(-2px);
}

.footer-links h4 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links ul li a:hover {
    color: #C97B0A;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
    color: #C97B0A;
}

/* --- What We Write (Full Writing Portfolio) --- */
.what-we-write {
    background: #F4F2EC;
    position: relative;
    overflow: hidden;
}

/* Decorative dot grid */
.what-we-write::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(28, 33, 64, 0.06) 1.5px, transparent 1.5px);
    background-size: 28px 28px;
    pointer-events: none;
}

.what-we-write::after {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(201, 123, 10, 0.08), transparent 70%);
    pointer-events: none;
}

.what-we-write .section-tag {
    color: #C97B0A;
}

.what-we-write .section-title {
    color: #1C2140;
}

.what-we-write .section-desc {
    color: #666;
}

.format-count {
    color: #C97B0A;
    font-weight: 700;
}

.portfolio-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.portfolio-stats span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #555;
    background: #fff;
    border: 1px solid rgba(100, 90, 70, 0.12);
    padding: 8px 16px;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(28, 33, 64, 0.04);
}

.portfolio-stats span i {
    color: #C97B0A;
    font-size: 0.8125rem;
}

/* Tabs */
.write-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    position: relative;
}

.write-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1.5px solid rgba(100, 90, 70, 0.14);
    background: #fff;
    color: #555;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(28, 33, 64, 0.04);
}

.write-tab i {
    font-size: 0.8125rem;
    color: #C97B0A;
}

.write-tab:hover {
    border-color: rgba(201, 123, 10, 0.35);
    background: #fff;
    color: #1C2140;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(201, 123, 10, 0.1);
}

.write-tab.active {
    background: #C97B0A;
    border-color: #C97B0A;
    color: #fff;
    box-shadow: 0 6px 20px rgba(201, 123, 10, 0.35);
}

.write-tab.active i {
    color: rgba(255, 255, 255, 0.85);
}

.write-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(28, 33, 64, 0.08);
    font-size: 0.6875rem;
    font-weight: 700;
    color: #444;
}

.write-tab.active .write-tab-count {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* Cards */
.write-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
}

.write-card {
    background: #fff;
    border-radius: 18px;
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(100, 90, 70, 0.09);
    transition: all 0.3s ease;
    animation: fadeInUp 0.4s ease both;
    box-shadow: 0 2px 12px rgba(28, 33, 64, 0.04);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.write-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(28, 33, 64, 0.10);
    border-color: rgba(201, 123, 10, 0.15);
}

.write-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.write-card-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(201, 123, 10, 0.1), rgba(201, 123, 10, 0.04));
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    color: #C97B0A;
}

.write-card-badge {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #5A8A58;
    background: rgba(90, 138, 88, 0.1);
    padding: 5px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.write-card h3 {
    font-size: 1.0625rem;
    margin-bottom: 8px;
    color: #1C2140;
    letter-spacing: -0.2px;
}

.write-card > p {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.65;
    margin-bottom: 14px;
    flex-grow: 1;
}

.write-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1C2140;
    margin-bottom: 14px;
}

.write-card-meta i {
    color: #C97B0A;
    font-size: 0.8125rem;
}

.write-card-meta span {
    background: #F4F2EC;
    padding: 5px 12px;
    border-radius: 8px;
    border: 1px solid rgba(100, 90, 70, 0.10);
    font-weight: 700;
    color: #C97B0A;
}

.write-card-sections {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.write-card-sections span {
    font-size: 0.6875rem;
    font-weight: 500;
    color: #888;
    background: #FAFAF8;
    border: 1px solid rgba(100, 90, 70, 0.08);
    padding: 3px 8px;
    border-radius: 6px;
}

.write-card .btn {
    align-self: flex-start;
    padding: 10px 18px;
    font-size: 0.8125rem;
}

/* --- Research Support --- */
.research-support {
    background: #fff;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.support-card {
    background: #FAFAF8;
    padding: 36px 28px;
    border-radius: 18px;
    border: 1px solid rgba(100, 90, 70, 0.08);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.support-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #C97B0A, #e8a422);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.support-card:hover::before {
    transform: scaleX(1);
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(28, 33, 64, 0.07);
    border-color: rgba(201, 123, 10, 0.12);
    background: #fff;
}

.support-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(201, 123, 10, 0.1), rgba(201, 123, 10, 0.04));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #C97B0A;
    transition: all 0.3s ease;
}

.support-card:hover .support-icon {
    transform: scale(1.08);
    background: linear-gradient(135deg, rgba(201, 123, 10, 0.18), rgba(201, 123, 10, 0.08));
}

.support-card h3 {
    font-size: 1.0625rem;
    margin-bottom: 10px;
    letter-spacing: -0.2px;
}

.support-card p {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.65;
}

.support-cta {
    margin-top: 48px;
    background: linear-gradient(150deg, #1C2140 0%, #2e3560 100%);
    border-radius: 20px;
    padding: 36px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.support-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #C97B0A, #e8a422);
}

.support-cta p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.0625rem;
    flex: 1;
    min-width: 260px;
    line-height: 1.6;
}

.support-cta p strong {
    color: #fff;
}

.support-cta .btn-primary {
    background: #C97B0A;
    border-color: #C97B0A;
    white-space: nowrap;
}

.support-cta .btn-primary:hover {
    background: #b36c08;
    border-color: #b36c08;
}

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 58px;
    height: 58px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.625rem;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-float:hover {
    transform: scale(1.12) translateY(-2px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
    color: #fff;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-visual {
        display: none;
    }

    .who-grid {
        grid-template-columns: 1fr;
    }

    .who-intro {
        border-left: none;
        border-top: 4px solid #C97B0A;
        padding-left: 0;
        padding-top: 24px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .sgrid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dropdown-menu {
        display: none;
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps::before {
        display: none;
    }

    .write-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .support-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 72px 0;
    }

    .section-title {
        font-size: 1.875rem;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .nav-links {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: rgba(250, 250, 248, 0.99);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 20px;
        transform: translateY(-110%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        border-bottom: 1px solid rgba(100, 90, 70, 0.08);
        box-shadow: 0 20px 48px rgba(28, 33, 64, 0.08);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        min-height: auto;
    }

    .hero-container {
        padding-top: 100px;
        padding-bottom: 64px;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .who-grid {
        grid-template-columns: 1fr;
    }

    .who-intro {
        border-left: none;
        border-top: 4px solid #C97B0A;
        padding-left: 0;
        padding-top: 24px;
    }

    .who-benefits {
        grid-template-columns: 1fr;
    }

    .who-icon-grid {
        grid-template-columns: 1fr 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .sgrid {
        grid-template-columns: 1fr;
    }

    .cta-inline .container {
        flex-direction: column;
        text-align: center;
    }

    .promise-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .steps::before {
        display: none;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        grid-template-columns: 1fr;
        padding: 28px;
    }

    .quote-grid {
        grid-template-columns: 1fr;
    }

    .quote-form {
        grid-template-columns: 1fr;
        padding: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin: 16px auto 20px;
    }

    .footer-tagline {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .guarantee-card {
        padding: 48px 24px;
    }

    .guarantee-title {
        font-size: 1.875rem;
    }

    .write-grid {
        grid-template-columns: 1fr;
    }

    .write-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .write-tab {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .support-grid {
        grid-template-columns: 1fr;
    }

    .support-cta {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
    }
}
