@import 'style.css';

:root {
    --purple: #900cfc;
    --purple-dark: #7209d4;
    --text-color: #333333;
    --white: #FFFFFF;
}

body {
    background: var(--gradient-bg);
    min-height: 100vh;  /* Ensure body takes up full viewport height */
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
}

/* Hero Section */
.systematic-hero {
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
    padding: 120px 0 80px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.systematic-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('path-to-pattern.png');
    opacity: 0.1;
}

.systematic-hero h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 3.5rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

/* Main Content */
.systematic-content {
    padding: 100px 0;
    background: var(--white);
}

.content-grid {
    display: grid;
    background: var(--gradient-bg);
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}


/* Paragraph animations */
.content-grid > p,
.content-text > p.intro {
    opacity: 0;
    transform: translateX(-50px);
    transition: 
        opacity 0.8s ease-out,
        transform 0.8s ease-out,
        border 0.2s ease-out,
        box-shadow 0.2s ease-out;
    padding: 20px;
    border-radius: 15px;
    border: 3px solid transparent;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.content-grid > p:hover,
.content-text > p.intro:hover {
    border: 3px solid var(--purple);
    box-shadow: 0 5px 20px rgba(144, 12, 252, 0.1);
    transition: 
        border 0.2s ease-out
        box-shadow 0.2s ease-out !important;
}

.content-grid p:first-of-type.reveal {
    opacity: 1;
    transform: translateX(0);
}

.content-grid p:last-of-type {
    transform: translateX(50px);
}

.content-grid p:last-of-type.reveal {
    opacity: 1;
    transform: translateX(0);

}

/* Add subtle highlight for key terms */
.content-grid p strong{
    color: var(--purple);
}

/* Image Styles */
.content-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
    aspect-ratio: 4/3;
    background: #f5f5f5;
}

.content-image.reveal {
    opacity: 1;
    transform: translateY(0);
}

.sparkle-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, 
        rgba(144, 12, 252, 0.15) 0%,
        transparent 70%);
    opacity: 0;
}

.content-image.reveal .sparkle-overlay {
    animation: sparkleEffect 2s ease forwards;
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.institute-logo {
    position: absolute;
    top: 20px;
    right: 20px;
    max-width: 120px;
    background: transparent;
    padding: 12px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.institute-logo:hover {
    transform: translateY(-3px);
}

.institute-logo img {
    width: 100%;
    height: auto;
}

/* Text Styles */
.content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.content-text p {
    margin-bottom: 25px;
}

.content-text .intro {
    font-size: 1.3rem;
    color: var(--text-color);
    font-weight: 500;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .systematic-hero h1 {
        font-size: 3rem;
        padding: 0 20px;
    }

    .content-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .systematic-hero {
        padding: 100px 0 60px;
    }

    .systematic-hero h1 {
        font-size: 2.5rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .content-image {
        margin: 0 auto;
        max-width: 600px;
    }

    .content-text {
        font-size: 1rem;
    }

    .content-text .intro {
        font-size: 1.2rem;
    }
}

/* Animation for scroll reveal (optional) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-text p {
    animation: none;
    opacity: 0;
}

.content-text p:nth-child(odd) {
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.content-text p:nth-child(even) {
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.content-text p.reveal {
    opacity: 1;
    transform: translateX(0);
}

/* Delay for subsequent paragraphs */
.content-text p:nth-child(2).reveal {
    transition-delay: 0.2s;
}

.content-text p:nth-child(3).reveal {
    transition-delay: 0.4s;
}

/* Navbar Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 60px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    height: 50px;
}

.logo img {
    height: 100%;
    width: auto;
}

nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--purple);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--purple);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    transform: scaleX(1);
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #333 0%, #222 100%);
    color: var(--white);
    position: relative;
}

.footer-top {
    padding: 80px 0 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}

/* Brand Section */
.footer-brand {
    max-width: 400px;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
}

.brand-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--purple);
    transform: translateY(-3px);
}

/* Navigation Section */
.footer-nav h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-nav h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--purple);
}

.footer-nav ul {
    list-style: none;
    padding: 0;
}

.footer-nav ul li {
    margin-bottom: 12px;
}

.footer-nav ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-nav ul li a:hover {
    color: var(--white);
    transform: translateX(5px);
}

/* Contact Section */
.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info i {
    margin-right: 12px;
    color: var(--purple);
}

.contact-info a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--white);
}

/* Footer Bottom */
.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-links .separator {
    color: rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        margin: 0 auto;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-top {
        padding: 60px 0 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-nav h4::after,
    .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .contact-info p {
        justify-content: center;
    }
}

/* Enhanced Social Links Styles */
.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #b14cff;
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--purple);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 0;
}

.social-link i {
    position: relative;
    z-index: 1;
}

.social-link:hover {
    transform: translateY(-3px);
    background: #c67aff;
    box-shadow: 0 5px 15px rgba(177, 76, 255, 0.4);
}

.social-link:hover:before {
    transform: translateY(0);
}


/* Specific colors for each platform (optional) */
.social-link[aria-label="Facebook"]:hover {
    background: #4267B2;
}

.social-link[aria-label="Instagram"]:hover {
    background: #E1306C;
}

.social-link[aria-label="LinkedIn"]:hover {
    background: #0077B5;
}

.social-link[aria-label="YouTube"]:hover {
    background: #FF0000;
}

/* Second Section Styles */
.second-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.quote {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--purple);
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding-left: 0;
}


.quote-author {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 40px;
    padding-left: 25px;
}

.content-text a {
    color: var(--purple);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.content-text a:hover {
    color: var(--purple-dark);
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .second-section {
        margin-top: 60px;
        padding-top: 40px;
    }

    .quote {
        font-size: 1.2rem;
        padding-left: 20px;
    }

    .quote::before {
        font-size: 2.5rem;
        left: -5px;
        top: -10px;
    }
}

/* Third Section Styles */
.third-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.link-highlight {
    color: var(--purple);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.link-highlight:hover {
    color: var(--purple-dark);
}

/* Responsive adjustments for third section */
@media (max-width: 768px) {
    .third-section {
        margin-top: 60px;
        padding-top: 40px;
    }
    
    .content-text p {
        text-align: left;
    }
}

/* Book Image Animation Styles */
.book-reveal {
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: bookFadeIn 1s ease forwards;
}

.sparkle-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, 
        rgba(144, 12, 252, 0.15) 0%,
        transparent 70%);
    opacity: 0;
    animation: sparkleEffect 2s ease forwards;
    pointer-events: none;
}

@keyframes bookFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes sparkleEffect {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: scale(1.2);
    }
}

.content-image.book-image {
    animation-delay: 0.3s;
}

/* Enhanced Header Styles */
h1 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 3.2rem;
    background: var(--primary-color);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 40px;
    position: relative;
    line-height: 1.2;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
}

.intro-section {
    margin-bottom: 80px;
}

@media (max-width: 768px) {
    .intro-section {
        margin-bottom: 60px;
    }
}

/* Mobile menu styles */
@media screen and (max-width: 768px) {
    nav ul {
        display: none !important; /* Force override any other display values */
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    nav ul.active {
        display: flex !important; /* Force override when active */
    }

    /* Ensure flex display is removed on mobile */
    .flex {
        display: none !important;
    }

    .flex.active {
        display: flex !important;
    }
}

/* Fourth Section Styles */
.fourth-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments for fourth section */
@media (max-width: 768px) {
    .fourth-section {
        margin-top: 60px;
        padding-top: 40px;
    }
}

/* Optional: Add specific styles for systematic page offerings */
.systematic-content .offerings {
    background: var(--white);  /* or any other background color you prefer */
    padding: 80px 0;
}

.systematic-content .offerings h2 {
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-color);
    font-family: 'Roboto', sans-serif;
    font-size: 3.2rem;
}

/* Offerings Section Styles */
.offerings {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
    position: relative;
    overflow: hidden;
}

.offerings h2 {
    text-align: center;
    color: var(--white);
    font-size: 3.2rem;
    margin-bottom: 60px;
    font-family: 'Roboto', sans-serif;
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.offering-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
}

.offering-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.offering-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.offering-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.offering-card:hover .offering-image img {
    transform: scale(1.05);
}

.offering-content {
    padding: 30px;
    text-align: center;
}

.offering-content h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-family: 'Roboto', sans-serif;
}

.offering-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .offerings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .offerings {
        padding: 60px 0;
    }

    .offerings h2 {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }

    .offerings-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .offering-image {
        height: 200px;
    }

    .offering-content {
        padding: 20px;
    }
}

/* Add these styles for the offering buttons */
.offering-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: var(--white);
    color: var(--purple);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    margin-top: 20px;
    border: none;
    cursor: pointer;
}

.offering-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
    color: var(--purple);
}

.offering-cta span {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.offering-cta:hover span {
    transform: scale(1.05);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* Add shimmer effect */
.offering-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(144, 12, 252, 0.3),
        transparent
    );
    transform: skewX(-25deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -75%;
    }
    100% {
        left: 150%;
    }
}

/* Optional: Add click effect */
.offering-cta:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* Button decoration */
.button-decoration {
    position: absolute;
    top: 50%;
    left: -100%;
    width: 300%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: translate(-50%, -50%);
    transition: 0.8s all;
    z-index: 1;
}

.offering-cta:hover .button-decoration {
    left: 100%;
}

/* Call to Action Section */
.cta-section {
    padding: 120px 0;
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
    position: relative;
}

/* Slightly darker overlay for better text contrast */
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1); /* Very light dark overlay */
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.cta-content h2 {
    font-family: 'Roboto', sans-serif;
    color: #333;
    font-size: 3.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8); /* Add white text shadow */
}

@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 2.5rem; /* Adjust size for mobile */
    }
}

.cta-content p {
    color: #444;
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8); /* Add white text shadow */
}

/* Button styles */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta-button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Add subtle shadow */
    position: relative; /* Added for shimmer effect */
    overflow: hidden;   /* Added for shimmer effect */
}

.cta-button.primary {
    background: var(--purple);
    color: white;
    border: none;
}

.cta-button.primary:hover {
    background: var(--purple-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(144, 12, 252, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: var(--purple);
    border: 2px solid var(--purple);
    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.9); /* Add slight white background */
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(144, 12, 252, 0.2);
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
    }
}

/* Add shimmer effect to primary button */
.cta-button.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transform: skewX(-25deg);
    animation: shimmer 3s infinite;
}

/* Add shimmer effect to secondary button */
.cta-button.secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(144, 12, 252, 0.3),
        transparent
    );
    transform: skewX(-25deg);
    animation: shimmer 3s infinite;
}

/* Button decoration */
.cta-button .button-decoration {
    position: absolute;
    top: 50%;
    left: -100%;
    width: 300%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: translate(-50%, -50%);
    transition: 0.8s all;
    z-index: 1;
}

.cta-button:hover .button-decoration {
    left: 100%;
}

@keyframes shimmer {
    0% {
        left: -75%;
    }
    100% {
        left: 150%;
    }
}

/* Update HTML structure for CTA buttons */

/* Default offering image styles */
.offering-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.offering-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Special class for images that need white background */
.offering-image.with-bg {
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offering-image.with-bg img {
    object-fit: contain;
}


