:root {
    --primary: #004e92;
    --primary-light: #006bd1;
    --accent: #2196f3;
    --dark: #12141d;
    --grey: #666666;
    --light-grey: #f8f9fa;
    --border-grey: #e0e0e0;
    --white: #ffffff;
    --max-width: 1200px;
    --header-height: 85px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body.light-theme {
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
}

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

/* Header & Nav */
header {
    height: var(--header-height);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--primary);
}

.logo-sub {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: var(--grey);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    padding: 0.5rem 0;
    position: relative;
    z-index: 2;
}

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

/* Nav Indicator Underline */
.nav-indicator-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    pointer-events: none;
    z-index: 1;
}

#nav-indicator {
    height: 100%;
    width: 0;
    background-color: var(--accent);
    position: absolute;
    bottom: 0;
    left: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 3px 3px 0 0;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    background: radial-gradient(circle at top right, #eef2f3, #ffffff);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 4rem;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.highlight {
    color: var(--primary);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--grey);
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
}

/* Buttons */
.btn {
    padding: 0.9rem 2.2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    display: inline-block;
    font-size: 0.95rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 78, 146, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-card {
    margin-top: auto;
    background-color: #f0f4f8;
    color: var(--primary);
    text-align: center;
}

.btn-card:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Section Titles */
.section-title {
    margin-bottom: 5rem;
    text-align: center;
}

.subtitle {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 4px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--dark);
}

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

/* Service Grid & Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background-color: var(--white);
    border: 1px solid var(--border-grey);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
    /* Default Hidden State */
    opacity: 0;
    transform: translateY(30px);
}

/* Fix for consistent card display when section is active */
.section.active .service-card.show {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.service-img {
    height: 220px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-info {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: var(--light-grey);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.5rem;
}

.service-info h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-info p {
    color: var(--grey);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    color: var(--grey);
}

.feature-list li i, .feature-list li::before {
    color: var(--accent);
    margin-right: 12px;
    font-size: 0.7rem;
}
.feature-list li::before { content: '●'; }

/* Studio Layout */
.studio-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

.studio-main-card {
    background-color: var(--white);
    border-radius: 24px;
    display: flex;
    overflow: hidden;
    box-shadow: var(--shadow);
    /* Default Hidden State */
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease;
}

.section.active .studio-main-card.show {
    opacity: 1;
    transform: translateX(0);
}

.studio-img {
    flex: 1;
}

.studio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.studio-content {
    flex: 1;
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.studio-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.studio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.studio-feature i {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.studio-feature h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.studio-feature p {
    font-size: 0.8rem;
    color: var(--grey);
}

.studio-sub-grid {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 1.5rem;
}

.sub-service {
    padding: 2rem;
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    /* Default Hidden State */
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease;
}

.section.active .sub-service.show {
    opacity: 1;
    transform: translateX(0);
}

.sub-service h4 {
    margin-bottom: 0.5rem;
}

.sub-service p {
    font-size: 0.85rem;
    color: var(--grey);
    margin-bottom: 1rem;
}

/* Stationery Section */
.stationery-layout {
    background-color: var(--light-grey);
    border-radius: 30px;
    overflow: hidden;
    margin-top: 2rem;
    /* Default Hidden State */
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.section.active .stationery-layout.show {
    opacity: 1;
    transform: translateY(0);
}

.stationery-content {
    display: flex;
    align-items: center;
}

.stationery-text {
    flex: 1;
    padding: 5rem;
}

.stationery-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.stationery-list {
    list-style: none;
    margin-bottom: 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stationery-list li {
    font-weight: 500;
    color: var(--grey);
}

.stationery-list i {
    color: #2e7d32;
    margin-right: 10px;
}

.stationery-image {
    flex: 1;
    height: 100%;
}

.stationery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.contact-card {
    text-align: center;
    padding: 4rem 2rem;
    background-color: var(--light-grey);
    border-radius: 24px;
    transition: all 0.3s;
    /* Default Hidden State */
    opacity: 0;
    transform: translateY(30px);
}

.section.active .contact-card.show {
    opacity: 1;
    transform: translateY(0);
}

.contact-card:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-5px);
}

.contact-card i {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.contact-card:hover i {
    color: var(--white);
}

.contact-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.btn-link {
    display: inline-block;
    margin-top: 1.5rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}

.contact-map {
    text-align: left;
    padding: 1.5rem;
    background-color: var(--light-grey);
    border-radius: 24px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    opacity: 0;
    transform: translateY(30px);
}

.section.active .contact-map.show {
    opacity: 1;
    transform: translateY(0);
}

.map-info {
    padding: 0 0.5rem;
}

.map-info h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.map-info p {
    font-size: 0.85rem;
    color: var(--grey);
}

/* Footer */
footer {
    padding: 5rem 0 0;
    border-top: 1px solid var(--border-grey);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--grey);
    margin-top: 1rem;
    max-width: 350px;
}

.footer-links-group {
    display: flex;
    gap: 5rem;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--grey);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid var(--border-grey);
    text-align: center;
    font-size: 0.85rem;
    color: var(--grey);
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(15deg);
}

/* Animations */
.reveal {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
}

/* Responsiveness */
@media (max-width: 1200px) {
    .hero h1 { font-size: 3.5rem; }
}

@media (max-width: 992px) {
    .nav-links { gap: 1.5rem; }
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text p { margin-left: auto; margin-right: auto; }
    .hero-btns { justify-content: center; }
    .studio-layout { grid-template-columns: 1fr; }
    .stationery-content { flex-direction: column; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .header-cta { display: none; }
    .hero h1 { font-size: 2.8rem; }
    .studio-main-card { flex-direction: column; }
    .stationery-text { padding: 3rem; }
    .footer-content { flex-direction: column; gap: 3rem; }
}
