/* 
   Panth International - Global Theme Styles 
   Based on Visual Template Analysis
*/

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

:root {
    /* Color Palette */
    --primary-blue: #2F80ED; /* Inferred Primary Blue */
    --secondary-orange: #FFB606; /* Prominent CTA Orange */
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-cream: #FFFBF0; /* Soft off-white background */
    --bg-white: #FFFFFF;
    --bg-footer: #111827;
    
    /* Accents */
    --accent-purple: #9B51E0;
    --accent-green: #27AE60;
    --accent-teal: #1ABC9C;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius-lg: 20px;
    --border-radius-md: 12px;
    --border-radius-sm: 8px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    position: relative;
}

.grid {
    display: grid;
    gap: 30px;
}

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

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.gap-20 { gap: 20px; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
p { color: var(--text-light); margin-bottom: 1.5rem; }

.text-center { text-align: center; }
.text-orange { color: var(--secondary-orange); }

/* Reusable Components */

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cta-primary {
    background-color: var(--secondary-orange);
    color: var(--bg-white);
}

.cta-dark {
    background-color: var(--text-dark);
    color: var(--bg-white);
}

.cta-outline {
    border: 2px solid var(--text-dark);
    background: transparent;
    color: var(--text-dark);
}

/* Cards */
.card-style {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-style:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    height: 200px;
    width: 100%;
    object-fit: cover;
    background-color: #eee;
}

.card-content {
    padding: 20px;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.card-tag {
    background-color: rgba(47, 128, 237, 0.1);
    color: var(--primary-blue);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.card-price {
    color: var(--secondary-orange);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Faculty Circle */
.faculty-circle {
    text-align: center;
    position: relative;
    padding: 20px;
}

.faculty-img-wrapper {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    position: relative;
    z-index: 2;
    border: 5px solid var(--bg-white);
    box-shadow: var(--shadow-md);
}

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

.faculty-bg-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 240px;
    height: 240px;
    border-radius: 50%;
    z-index: 1;
    opacity: 0.2;
}

.bg-purple { background-color: var(--accent-purple); }
.bg-green { background-color: var(--accent-green); }
.bg-orange { background-color: var(--secondary-orange); }

/* Wave Separator */
.wave-separator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-separator svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.shape-fill {
    fill: var(--bg-white);
}

/* Header */
header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    background-color: transparent; /* Transparent on hero */
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 100;
}

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

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
}

/* Footer */
footer {
    background-color: var(--bg-footer);
    color: #fff;
    padding: 80px 0 20px;
    margin-top: auto;
}

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

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.footer-col ul li a {
    color: #9CA3AF;
}

.footer-col ul li a:hover {
    color: var(--secondary-orange);
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    color: #6B7280;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .container { padding: 0 30px; }
    h1 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    
    /* Mobile Header Layout */
    header { 
        position: relative; 
        height: auto; 
        padding: 20px 0; 
        background-color: var(--bg-white) !important; 
        box-shadow: var(--shadow-sm);
    }
    
    .container.flex-between {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-links { 
        display: flex; 
        flex-direction: column; 
        gap: 15px; 
        text-align: center;
        width: 100%;
    }
    
    .logo { margin-bottom: 10px; }
    
    h1 { font-size: 2.2rem; }
    .hero-content { text-align: center; }
    .hero-image { margin-top: 40px; }
}
