/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --primary: #0047AB;          /* Cobalt Blue - High Clarity & Trust */
    --primary-dark: #003380;
    --primary-light: #f1f8ff;
    --accent: #E5B200;           /* Vibrant Gold */
    --accent-hover: #CC9E00;
    --text-dark: #121820;        /* Deep Charcoal */
    --text-muted: #52637a;
    --bg-light: #ffffff;
    --bg-alt: #f8fafc;
    --white: #ffffff;
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.05);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.08);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.12);
    --transition: all 0.3s ease-out;
}

* {
    margin: 0; padding: 0; box-sizing: border-box;
}

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4, .logo { font-family: 'Outfit', sans-serif; font-weight: 700; }

a { text-decoration: none; color: inherit; transition: var(--transition); }

ul { list-style: none; }

img { max-width: 100%; display: block; }

/* Utilities */
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.section-padding { padding: 120px 0; }
.text-center { text-align: center; }
.bg-alt { background-color: var(--bg-alt); }
.flex { display: flex; }
.grid { display: grid; }
.gap-1 { gap: 1rem; }
.gap-2 { gap: 2.5rem; }

.divider {
    width: 60px; height: 4px; background: var(--accent); margin: 1.2rem auto 2.5rem; border-radius: 2px;
}

.btn {
    display: inline-block; padding: 1rem 2.6rem; border-radius: 50px;
    font-weight: 600; cursor: pointer; transition: var(--transition); border: none;
    font-size: 1.05rem;
}

.btn-sm { padding: 0.7rem 1.6rem; font-size: 0.95rem; }

.btn-primary { background-color: var(--primary); color: var(--white); }
.btn-primary:hover { background-color: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0, 74, 141, 0.25); }

.btn-accent { background-color: var(--accent); color: var(--white); }
.btn-accent:hover { background-color: var(--accent-hover); transform: translateY(-3px); box-shadow: 0 10px 25px rgba(249, 166, 26, 0.35); }

/* Header & Nav */
.top-bar { background-color: #f4f7f9; padding: 0.6rem 0; font-size: 0.85rem; border-bottom: 1px solid #eef2f5; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar-info { display: flex; gap: 2rem; }

header {
    background-color: var(--white);
    padding: 1.5rem 0;
    position: sticky; top: 0; z-index: 1000; transition: var(--transition);
    border-bottom: 1px solid #edf2f7;
}

header.sticky { padding: 0.8rem 0; box-shadow: var(--shadow-sm); }

nav { display: grid; grid-template-columns: 240px 1fr 240px; align-items: center; }

.logo { font-size: 1.8rem; color: var(--primary); justify-self: start; }
.logo span { color: var(--accent); }

.nav-links { display: flex; gap: 2.2rem; justify-self: center; }

.nav-links li a { font-weight: 600; color: #333; display: flex; align-items: center; }

.nav-links i { font-size: 0.75rem; margin-left: 6px; transition: var(--transition); opacity: 0.6; }

.dropdown { position: relative; }
.dropdown:hover i { transform: rotate(180deg); }

.dropdown-content {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(15px);
    background: var(--white); min-width: 250px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transition: var(--transition);
    border-top: 4px solid var(--accent); padding: 1rem 0; border-radius: 0 0 15px 15px;
}

.dropdown:hover .dropdown-content { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

.dropdown-content li a { padding: 0.8rem 2rem; font-size: 0.95rem; font-weight: 500; }
.dropdown-content li a:hover { background-color: var(--primary-light); color: var(--primary); padding-left: 2.5rem; }

.header-btns { justify-self: end; display: flex; align-items: center; gap: 1rem; }

.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--primary); cursor: pointer; }

/* Pulse Animation for CTA */
.btn-accent.btn-sm { animation: pulse 2s infinite; }

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(249, 166, 26, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(249, 166, 26, 0); }
    100% { box-shadow: 0 0 0 0 rgba(249, 166, 26, 0); }
}

/* Professional Side-Mask Hero - No Boxes */
.hero {
    height: 100vh; 
    background: linear-gradient(to right, rgba(0, 33, 71, 0.95) 20%, rgba(0, 33, 71, 0.4) 60%, rgba(0, 33, 71, 0) 100%), url('assets/images/hero-bg.png');
    background-size: cover; 
    background-position: center; 
    display: flex; 
    align-items: center; 
    position: relative;
    padding-top: 80px;
    color: var(--white);
}

.hero-content {
    max-width: 850px;
    z-index: 10;
    position: relative;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
    background: transparent;
    animation: fadeInScale 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95) translateX(-30px); }
    to { opacity: 1; transform: scale(1) translateX(0); }
}

.hero h1 { 
    font-size: 5.6rem; 
    line-height: 1.05; 
    margin-bottom: 2.5rem; 
    font-weight: 800;
    color: var(--white);
    letter-spacing: -2.5px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero h1 span {
    color: var(--accent);
    display: block;
}

.hero p { 
    font-size: 1.45rem; 
    margin-bottom: 4rem; 
    color: rgba(255, 255, 255, 0.8); 
    max-width: 650px;
    line-height: 1.7;
}

.hero .btn-outline {
    border: 2px solid var(--white) !important;
    color: var(--white) !important;
}

.hero .btn-outline:hover {
    background: var(--white) !important;
    color: var(--primary) !important;
}

.hero p { 
    font-size: 1.55rem; 
    margin-bottom: 4.5rem; 
    color: var(--text-muted); 
    max-width: 750px;
    font-weight: 500;
}

.btn-outline {
    border: 2px solid var(--primary) !important;
    color: var(--primary) !important;
}

.btn-outline:hover {
    background: var(--primary) !important;
    color: white !important;
}

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }

.service-card {
    background: var(--white); border-radius: 20px; padding: 4rem 3rem;
    box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid #f1f4f8;
}

.service-card:hover { 
    transform: translateY(-20px); 
    box-shadow: 0 30px 60px -10px rgba(0, 33, 71, 0.15); 
    border-color: var(--accent); 
}

.service-icon { 
    width: 80px; 
    height: 80px; 
    margin-bottom: 3rem;
    padding: 1rem;
    background: var(--primary-light);
    border-radius: 16px;
}

.read-more { 
    color: var(--primary); 
    font-weight: 700; 
    display: flex; 
    align-items: center; 
    gap: 0.8rem; 
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Process Section */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 50px; }

.process-item { text-align: center; position: relative; padding: 2rem; }

.process-number {
    width: 60px; height: 60px; background: var(--white); color: var(--primary);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; font-weight: 800; margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--accent);
}

.process-item h4 { color: var(--primary); margin-bottom: 1rem; font-size: 1.25rem; }

/* Knowledge Center */
.knowledge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }

.blog-card { background: var(--white); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); }

.blog-img { height: 220px; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.blog-card:hover img { transform: scale(1.1); }

.blog-content { padding: 2.5rem; }
.blog-content h4 { margin-bottom: 1.2rem; font-size: 1.4rem; }

/* Form Styling Modernization */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-left: 5px;
}

.form-group input, .form-group textarea {
    padding: 1.1rem 1.4rem;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    width: 100%;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    background-color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: #94a3b8;
    font-size: 0.95rem;
}

/* Footer Design */
footer { background-color: #050a12; color: #94a3b8; padding: 100px 0 40px; }

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 4rem; margin-bottom: 80px; }

.footer-about .logo { font-size: 2rem; margin-bottom: 1.5rem; color: var(--white); }
.footer-about p { font-size: 1rem; opacity: 0.8; margin-bottom: 1.5rem; }

.sebi-meta p { font-size: 0.9rem; color: var(--accent); margin-bottom: 0.5rem; }

.footer-links h4, .footer-contact h4 { color: var(--white); font-size: 1.3rem; margin-bottom: 2rem; position: relative; }
.footer-links h4::after, .footer-contact h4::after { content: ''; position: absolute; left: 0; bottom: -10px; width: 40px; height: 3px; background: var(--accent); }

.footer-links ul li { margin-bottom: 1rem; color: #a0a8b1; }
.footer-links ul li a:hover { color: var(--accent); padding-left: 8px; }

.contact-list li { display: flex; gap: 15px; margin-bottom: 1.5rem; color: #a0a8b1; font-size: 1rem; }
.contact-list li i { color: var(--accent); margin-top: 5px; }

.social-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 2rem;
}

.social-links a {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.08); /* Sophisticated dark circle */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.25rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(249, 166, 26, 0.45);
}

.social-links a i {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: normal; /* Important for font-icon centering */
}

.sebi-disclosure {
    background: rgba(255, 255, 255, 0.03); padding: 2rem; border-radius: 15px;
    border-left: 5px solid var(--accent); font-size: 0.9rem; line-height: 1.8; color: #8b949e;
}

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.05); padding-top: 40px; text-align: center; color: #666; font-size: 0.9rem; }

/* Responsive Adjustments */
@media (max-width: 1200px) {
    nav { grid-template-columns: 200px 1fr 200px; gap: 1rem; }
    .nav-links { gap: 1.5rem; }
}

@media (max-width: 992px) {
    .menu-toggle { display: block; }
    .nav-links {
        position: fixed; top: 100%; left: 0; width: 100%; background: var(--white);
        flex-direction: column; padding: 2rem; box-shadow: var(--shadow-md);
        opacity: 0; visibility: hidden; transform: translateY(20px); transition: var(--transition);
    }
    .nav-links.active { opacity: 1; visibility: visible; transform: translateY(0); }
    .nav-links li { width: 100%; }
    .nav-links .dropdown-content { position: static; transform: none; box-shadow: none; opacity: 1; visibility: visible; border: none; padding-left: 1rem; }
    nav { grid-template-columns: 1fr auto; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 3.5rem; }
    .services-grid, .knowledge-grid, .process-grid, .footer-grid { grid-template-columns: 1fr; }
    .section-padding { padding: 80px 0; }
}
