/* Reset & Root Variables */
:root {
    --primary-color: #0A3161; /* Deep Navy */
    --secondary-color: #1363DF; /* Vibrant Blue */
    --accent-color: #C89933; /* Gold/Ochre Accent */
    --light-blue: #E8F4F8;
    --text-color: #4A4A4A;
    --heading-color: #0A3161;
    --white: #FFFFFF;
    --light-bg: #F8F9FA;
    --border-color: #E2E8F0;
    
    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(10, 49, 97, 0.08);
}

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

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    color: var(--heading-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

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

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

.text-white {
    color: var(--white);
}

.text-white h2, .text-white h4, .text-white p {
    color: var(--white);
}

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

.mt-4 {
    margin-top: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-family: var(--font-primary);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

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

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

.btn-outline {
    background-color: transparent;
    color: var(--heading-color);
    border-color: var(--heading-color);
}

.btn-outline.text-white {
    border-color: var(--white);
}

.btn-outline:hover {
    background-color: var(--heading-color);
    color: var(--white);
}

.btn-outline.text-white:hover {
    background-color: var(--white);
    color: var(--heading-color);
}

/* Topbar */
.topbar {
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 13px;
    padding: 8px 0;
}

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

.topbar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.topbar-left .divider {
    color: rgba(255,255,255,0.3);
}

.topbar-left i {
    color: var(--accent-color);
    margin-right: 5px;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-links a {
    color: var(--white);
    margin-left: 10px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-color);
}

.topbar-phone {
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
}

.topbar-phone i {
    color: var(--accent-color);
    margin-right: 5px;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    padding: 15px 0;
    position: relative;
    z-index: 1000;
    transition: var(--transition);
}

.header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.header-placeholder {
    display: none;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo i {
    font-size: 32px;
    color: var(--secondary-color);
}

.logo-text h1, .logo-text h2 {
    font-size: 20px;
    margin: 0;
    color: var(--primary-color);
    font-family: var(--font-secondary);
}

.logo-text p {
    font-size: 10px;
    margin: 0;
    color: #666;
    letter-spacing: 1px;
    font-family: var(--font-primary);
    font-weight: 600;
}

.navbar .nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: var(--heading-color);
    font-weight: 500;
    font-size: 15px;
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--secondary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
}

/* Section Headers */
.section-subtitle {
    color: var(--accent-color);
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-size: 40px;
    margin-bottom: 20px;
}

.section-title span {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--light-blue) 0%, rgba(255,255,255,1) 100%);
    padding: 80px 0 0 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background-color: rgba(19, 99, 223, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 550px;
    padding-bottom: 80px;
}

.hero-title {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.hero-image img {
    max-width: 120%;
    margin-right: -10%;
    margin-bottom: -5px;
    mask-image: radial-gradient(circle at 50% 50%, black 50%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse at center 80%, black 50%, transparent 80%);
}

/* Features */
.features {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.features-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.feature-card {
    text-align: center;
    padding: 20px 10px;
    position: relative;
}

.feature-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: var(--border-color);
}

.feature-icon {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 16px;
    font-family: var(--font-primary);
    font-weight: 600;
    margin: 0;
}

/* Services */
.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.services-header > div:last-child {
    max-width: 400px;
    text-align: right;
}

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

.service-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
    border-color: var(--light-blue);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    color: var(--secondary-color);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--secondary-color);
    color: var(--white);
}

.service-card h3 {
    font-family: var(--font-secondary);
    font-size: 22px;
    margin-bottom: 15px;
}

/* About */
.about-inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border-top: 5px solid var(--accent-color);
    border-left: 5px solid var(--accent-color);
    border-radius: 10px 0 0 0;
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-bottom: 5px solid var(--secondary-color);
    border-right: 5px solid var(--secondary-color);
    border-radius: 0 0 10px 0;
}

.about-content {
    flex: 1;
}

.about-designation {
    color: var(--secondary-color);
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-item i {
    font-size: 32px;
    color: var(--accent-color);
}

.stat-title {
    display: block;
    font-size: 12px;
    color: #777;
    text-transform: uppercase;
    font-weight: 600;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--heading-color);
    font-family: var(--font-secondary);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.a-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.a-feature i {
    color: var(--secondary-color);
}

.about-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.signature {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--primary-color);
    font-style: italic;
}

/* Transformations */
.transformations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* CTA */
.cta {
    background-color: var(--primary-color);
    background-image: radial-gradient(circle at top right, rgba(19, 99, 223, 0.4), transparent);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-content {
    flex: 1;
}

.cta-features {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.c-feature {
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}

.c-feature:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

.c-feature i {
    font-size: 40px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.c-feature p {
    margin: 0;
    font-weight: 500;
}

/* Footer */
.footer {
    background-color: #051A36;
    color: #A0B2C6;
    padding-top: 80px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo .logo-text h2 {
    color: var(--white);
}

.footer-logo .logo-text p {
    color: #A0B2C6;
}

.footer-about {
    margin-top: 20px;
    margin-bottom: 25px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 50%;
    margin-left: 0;
    margin-right: 10px;
}

.footer-social a:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.footer h3 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

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

.footer-links a {
    color: #A0B2C6;
    display: flex;
    align-items: center;
}

.footer-links a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 10px;
    font-size: 12px;
    color: var(--secondary-color);
    transition: var(--transition);
}

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

.footer-contact li {
    display: flex;
    margin-bottom: 15px;
    line-height: 1.5;
}

.footer-contact i {
    color: var(--secondary-color);
    margin-top: 5px;
    margin-right: 15px;
    font-size: 16px;
}

.map-placeholder {
    background-color: rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 40px 20px;
    text-align: center;
}

.map-placeholder i {
    font-size: 40px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.footer-bottom {
    background-color: #031124;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}

.footer-bottom p {
    margin: 0;
}

/* Scroll Top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    overflow: auto;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    animation: slideIn 0.3s;
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-form input, .modal-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-primary);
    font-size: 14px;
}

.modal-form input:focus, .modal-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title { font-size: 48px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-inner { flex-direction: column; }
    .footer-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .section-padding { padding: 40px 0; }
    .section-title { font-size: 32px; margin-bottom: 15px; }
    
    .topbar { display: none; }
    .header-desktop-btn { display: none; }
    .mobile-toggle { display: block; }
    
    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        padding: 20px;
        display: none;
    }
    
    .navbar.active { display: block; }
    .navbar .nav-links { flex-direction: column; gap: 15px; }
    .mobile-cta-btn { display: block !important; }
    
    .hero-inner { flex-direction: column; text-align: center; }
    .hero-content { padding-bottom: 20px; margin: 0 auto; }
    .hero-btns { justify-content: center; }
    .hero-image img { max-width: 100%; margin: 0; }
    
    .features { margin-top: 20px; }
    .features-inner { grid-template-columns: repeat(2, 1fr); padding: 15px; gap: 10px; }
    .feature-icon { margin-bottom: 10px; font-size: 24px; }
    .feature-card:not(:last-child)::after { display: none; }
    
    .services-header { flex-direction: column; align-items: flex-start; text-align: left; margin-bottom: 30px; }
    .services-header > div:last-child { max-width: 100%; text-align: left; margin-top: 15px; }
    .service-card { padding: 25px 20px; }
    
    .about-inner { flex-direction: column; gap: 30px; }
    .about-stats { flex-direction: column; gap: 15px; margin: 20px 0; padding-bottom: 20px; }
    .about-bottom { flex-direction: column; gap: 20px; align-items: flex-start; }
    
    .why-choose-us .features-inner { padding-top: 30px; margin-top: 20px !important; }
    
    .transformations-grid { grid-template-columns: 1fr; }
    
    .cta-inner { flex-direction: column; gap: 30px; }
    .cta-features { grid-template-columns: 1fr; width: 100%; gap: 15px; }
    .c-feature { padding: 20px; }
    
    .footer { padding-top: 40px; }
    .footer-inner { grid-template-columns: 1fr; gap: 30px; margin-bottom: 30px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 36px; }
    .services-grid { grid-template-columns: 1fr; }
    /* features-inner defaults to 2 columns from the 768px query */
}
