/**
 * Component Styles
 * Charuchandra College Website
 * 
 * This file contains styles for all UI components including buttons, cards,
 * navigation, forms, and other interactive elements.
 */

/* ==========================================================================
   HEADER COMPONENTS
   ========================================================================== */

/* Header Top */
.header-top {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
    font-family: var(--font-primary);
    font-weight: var(--fw-medium);
}

/* Quick Links */
.quick-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}

.quick-link {
    color: var(--yellow-hover);
    text-decoration: none;
    font-weight: var(--fw-semibold);
    font-size: 12px;
    padding: 6px 10px;
    border-radius: var(--radius-2xl);
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-accent);
    letter-spacing: var(--ls-wider);
    text-transform: uppercase;
}

.quick-link:hover {
    color: var(--primary-color);
    background: var(--yellow-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.quick-link i {
    font-size: 12px;
}

/* Header Main */
.header-main {
    /*background: var(--white);*/
	background-color:#fff;
    padding: 20px 0;
    box-shadow: var(--header-shadow);
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
}

.college-logo {
    width: 110px;
    height: 110px;
    border-radius: var(--radius-full);
    object-fit: contain;
    background: var(--white);
    padding: 5px;
    box-shadow: var(--shadow-md);
}

.college-info h1 {
    color: var(--primary-color);
    font-size: clamp(1.5rem, 3vw, 1.75rem);
    font-weight: var(--fw-bold);
    margin-bottom: 5px;
    font-family: var(--font-heading);
    letter-spacing: var(--ls-tight);
}

.college-info p {
    /*color: var(--text-light);*/
	color:#6b7280;
    font-size: clamp(0.75rem, 1.5vw, 0.875rem);
    margin-bottom: 0;
    font-weight: var(--fw-regular);
    letter-spacing: -0.005em;
    font-family: var(--font-primary);
}

/* ==========================================================================
   LOGIN COMPONENTS
   ========================================================================== */

.login-section {
    display: flex;
    gap: 15px;
    align-items: center;
}

.login-box {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    padding: var(--btn-padding);
    border-radius: var(--btn-radius);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: var(--btn-font-weight);
    font-size: 14px;
    transition: var(--transition-normal);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
}

.login-box:hover {
    transform: var(--hover-transform);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    color: var(--yellow-hover);
    text-decoration: none;
}

.login-box i {
    font-size: 16px;
}

.login-box.student-login {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    box-shadow: 0 4px 15px rgba(58, 190, 249, 0.3);
}

.login-box.student-login:hover {
    box-shadow: 0 8px 25px rgba(58, 190, 249, 0.4);
}

.login-box.erp-login {
    background: linear-gradient(135deg, var(--light-accent), var(--accent-color));
    box-shadow: 0 4px 15px rgba(167, 230, 255, 0.3);
}

.login-box.erp-login:hover {
    box-shadow: 0 8px 25px rgba(167, 230, 255, 0.4);
}

/* ==========================================================================
   FLASH NEWS COMPONENT
   ========================================================================== */

.flash-news-section {
    background: linear-gradient(135deg, var(--flash-news-bg) 0%, #1e3a8a 100%);
    color: var(--white);
    padding: 12px 0;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid var(--flash-news-accent);
    font-family: var(--font-accent);
}

.flash-news-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.flash-news-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 20px;
}

.flash-news-label {
    background: linear-gradient(135deg, var(--flash-news-accent), #ffa500);
    color: var(--flash-news-bg);
    padding: 8px 20px;
    border-radius: var(--radius-3xl);
    font-weight: var(--fw-bold);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.flash-news-label::before {
    content: '⚡';
    margin-right: 8px;
    animation: pulse 1.5s infinite;
}

.flash-news-content {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 30px;
}

.flash-news-ticker {
    display: flex;
    animation: scroll-news 45s linear infinite;
    white-space: nowrap;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.flash-news-ticker:hover {
    animation-play-state: paused;
}

@keyframes scroll-news {
    0% { transform: translateX(100%) translateY(-50%); }
    100% { transform: translateX(-100%) translateY(-50%); }
}

.flash-news-item {
    margin-right: 100px;
    font-size: 14px;
    font-weight: var(--fw-medium);
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    position: relative;
}

.flash-news-item::before {
    content: '●';
    color: var(--flash-news-accent);
    font-size: 12px;
    animation: blink 2s infinite;
}

.flash-news-item a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-normal);
    font-family: var(--font-primary);
    letter-spacing: var(--ls-normal);
}

.flash-news-item a:hover {
    color: var(--flash-news-accent);
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.flash-news-date {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: var(--radius-lg);
    font-size: 11px;
    font-weight: var(--fw-semibold);
    margin-left: 10px;
    backdrop-filter: blur(10px);
    font-family: var(--font-primary);
}

.flash-news-controls {
    display: flex;
    gap: 8px;
    align-items: center;
}

.flash-news-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    width: 30px;
    height: 30px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
    backdrop-filter: blur(10px);
    font-size: 12px;
}

.flash-news-control:hover {
    background: var(--light-accent);
    color: var(--primary-color);
    transform: scale(1.1);
}

/* ==========================================================================
   NAVIGATION COMPONENTS
   ========================================================================== */
   
   /* Custom styles for the navigation */
        .main-nav {
            background: var(--secondary-color);
    		font-family: var(--font-accent);
        }
        
        .main-nav .navbar-nav .nav-link {
            color: white !important;
            font-weight: 400;
            padding: 0.4rem 0.4rem;
            transition: all 0.3s ease;
            border-radius: 5px;
            margin: 0 1px;
        }
        
        .main-nav .navbar-nav .nav-link:hover {
            background-color: rgba(255,255,255,0.1);
            transform: translateY(-2px);
        }
        
        .main-nav .navbar-nav .nav-link i {
            margin-right: 3px;
        }
        
        /* Dropdown menu styling */
        .dropdown-menu {
            background-color: white;
            border: none;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            border-radius: 8px;
            padding: 0.5rem 0;
        }
        
        .dropdown-item {
            padding: 0.5rem 1.5rem;
            color: #333;
            transition: all 0.3s ease;
        }
        
        .dropdown-item:hover {
            background-color: #f8f9fa;
            color: #667eea;
            padding-left: 2rem;
        }
        
        /* Multi-level dropdown */
        .dropdown-submenu {
            position: relative;
        }
        
        .dropdown-submenu .dropdown-menu {
            top: 0;
            left: 100%;
            margin-top: -1px;
            margin-left: -1px;
        }
        
        .dropdown-submenu:hover .dropdown-menu {
            display: block;
        }
        
        .dropdown-submenu > .dropdown-item::after {
            content: "\f054";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            float: right;
            margin-top: 2px;
            font-size: 0.8em;
        }
        
        /* Mobile navbar toggler */
        .navbar-toggler {
            border: 2px solid white;
            padding: 0.4rem 0.6rem;
        }
        
        .navbar-toggler:focus {
            box-shadow: 0 0 0 0.2rem rgba(255,255,255,0.25);
        }
        
        /* Mobile dropdown adjustments */
        @media (max-width: 991.98px) {
            /* Fixed menu positioning for mobile only */
            .main-nav {
                position: fixed;
                top: 0;
                left: 0;
                right: 0;
                z-index: 1030;
                width: 100%;
                padding: 0.8rem 0;
            }
            
            /* Add body padding for mobile only */
            .main-nav .container {
                padding: 0 1rem;
            }
            
            .main-nav .navbar-collapse {
                background-color: rgba(255,255,255,0.98);
                border-radius: 10px;
                margin-top: 1rem;
                padding: 1rem;
                box-shadow: 0 5px 15px rgba(0,0,0,0.2);
                border: 1px solid rgba(255,255,255,0.2);
                max-height: calc(100vh - 100px);
                overflow-y: auto;
            }
            
            .main-nav .navbar-nav .nav-link {
                color: #333 !important;
                border-bottom: 1px solid #eee;
                padding: 0.8rem 1rem;
                margin: 0;
                border-radius: 5px;
            }
            
            .main-nav .navbar-nav .nav-link:hover {
                background-color: #f8f9fa;
                color: #667eea !important;
            }
            
            .main-nav .navbar-nav .nav-item:last-child .nav-link {
                border-bottom: none;
            }
            
            .dropdown-menu {
                background-color: #f8f9fa;
                margin: 0.5rem 0;
                padding: 0.5rem 0;
                border: none;
                box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);
            }
            
            .dropdown-submenu .dropdown-menu {
                position: static !important;
                box-shadow: none;
                border-left: 3px solid #667eea;
                margin-left: 1rem;
                display: none;
                transform: none !important;
                background-color: #fff;
            }
            
            .dropdown-submenu.show > .dropdown-menu {
                display: block !important;
            }
            
            .dropdown-submenu .dropdown-item {
                padding: 0.5rem 1rem;
                cursor: pointer;
                font-size: 0.9rem;
            }
            
            .dropdown-submenu > .dropdown-item {
                position: relative;
                padding-right: 2.5rem;
                font-weight: 500;
                background-color: #e9ecef;
            }
            
            .dropdown-submenu > .dropdown-item:hover {
                background-color: #dee2e6;
            }
            
            /* Navbar toggler improvements */
            .navbar-toggler {
                border: 2px solid white;
                padding: 0.5rem 0.7rem;
                margin-right: 0.5rem;
            }
            
            .navbar-toggler:focus {
                box-shadow: 0 0 0 0.2rem rgba(255,255,255,0.25);
            }
        }

/*.main-nav {
    background: var(--secondary-color);
    font-family: var(--font-accent);
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: var(--fw-medium);
    padding: var(--nav-item-padding) !important;
    transition: var(--transition-normal);
    letter-spacing: var(--ls-normal);
}

.navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dropdown-menu {
    background: var(--white);
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    min-width: 250px;
    font-family: var(--font-primary);
}

.dropdown-item {
    padding: 6px 10px;
    color: var(--text-dark);
    transition: var(--transition-normal);
    font-weight: var(--fw-medium);
    letter-spacing: var(--ls-normal);
}

.dropdown-item:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

/* Multi-level dropdown styles */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    display: none;
}

.dropdown-submenu:hover .dropdown-menu {
    display: block;
}

.dropdown-submenu > .dropdown-item::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    float: right;
    margin-top: 2px;
    font-size: 12px;
    color: var(--text-light);
}*/

/* ==========================================================================
   BUTTON COMPONENTS
   ========================================================================== */

.btn-custom {
    padding: 15px 30px;
    border-radius: var(--btn-radius);
    font-size: 16px;
    font-weight: var(--btn-font-weight);
    text-decoration: none;
    transition: var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-accent);
    letter-spacing: var(--ls-normal);
    border: none;
    cursor: pointer;
}

.btn-custom:hover {
    transform: var(--hover-transform);
    box-shadow: var(--shadow-xl);
}

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

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

.btn-view-more {
    padding: 20px 50px;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    border: none;
    border-radius: 60px;
    font-size: 1.1rem;
    font-weight: var(--fw-bold);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.3);
    font-family: var(--font-accent);
}

.btn-view-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent-color), #fbbf24);
    transition: left var(--transition-slow);
    z-index: -1;
}

.btn-view-more:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px rgba(59, 130, 246, 0.5);
    color: var(--white);
}

.btn-view-more:hover::before {
    left: 0;
}

.btn-view-more i:last-child {
    transition: var(--transition-normal);
}

.btn-view-more:hover i:last-child {
    transform: translateX(8px);
}

/* ==========================================================================
   CARD COMPONENTS
   ========================================================================== */

/* Enhanced Message Card */
.message-card {
    background: linear-gradient(145deg, var(--white) 0%, var(--bg-light) 50%, var(--white) 100%);
    border-radius: var(--card-radius);
    padding: 40px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.08),
        0 8px 25px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    transition: var(--transition-bounce);
}

.message-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.04) 0%, transparent 50%),
        linear-gradient(135deg, rgba(248, 250, 252, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
    background-size: 300px 300px, 400px 400px, 100% 100%;
    background-position: 0 0, 100% 100%, 0 0;
    z-index: 0;
    border-radius: var(--card-radius);
}

.message-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.12),
        0 15px 40px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.message-card > * {
    position: relative;
    z-index: 2;
}

.message-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 50%, var(--navy-deep) 100%);
    border-radius: var(--radius-3xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
    margin: 0 auto 25px;
    position: relative;
    box-shadow: 
        0 15px 35px rgba(59, 130, 246, 0.3),
        0 8px 20px rgba(30, 58, 138, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: var(--transition-bounce);
}

.message-card:hover .message-icon {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 
        0 20px 50px rgba(59, 130, 246, 0.4),
        0 12px 30px rgba(30, 58, 138, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.message-card h5 {
    color: var(--navy-deep);
    font-size: 1.8rem;
    font-weight: var(--fw-bold);
    margin-bottom: 25px;
    font-family: var(--font-heading);
    letter-spacing: var(--ls-tight);
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.message-card h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-accent), var(--secondary-color));
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.message-card p {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: var(--lh-loose);
    margin-bottom: 20px;
    font-family: var(--font-quote);
    font-style: italic;
    position: relative;
    padding: 0 15px;
}








/* ==========================================================================
   PRINCIPAL MESSAGE CARD COMPONENT
   ========================================================================== */

.principal-message-card {
    background: linear-gradient(145deg, var(--white) 0%, var(--bg-light) 50%, var(--white) 100%);
    border-radius: var(--card-radius);
    padding: 40px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.08),
        0 8px 25px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    transition: var(--transition-bounce);
}

.principal-message-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 80% 20%, rgba(58, 190, 249, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(167, 230, 255, 0.06) 0%, transparent 50%),
        linear-gradient(135deg, rgba(248, 250, 252, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
    background-size: 300px 300px, 400px 400px, 100% 100%;
    background-position: 0 0, 100% 100%, 0 0;
    z-index: 0;
    border-radius: var(--card-radius);
}

.principal-message-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.12),
        0 15px 40px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.principal-message-card > * {
    position: relative;
    z-index: 2;
}

/* Principal Info Section */
.principal-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid rgba(58, 190, 249, 0.1);
    position: relative;
}

.principal-info::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 1px;
}

.principal-image {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-2xl);
    object-fit: cover;
    flex-shrink: 0;
    border: 4px solid var(--white);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.15),
        0 4px 15px rgba(58, 190, 249, 0.2);
    transition: var(--transition-bounce);
    position: relative;
}

.principal-image::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: var(--radius-2xl);
    z-index: -1;
    opacity: 0;
    transition: var(--transition-normal);
}

.principal-message-card:hover .principal-image {
    transform: scale(1.05);
}

.principal-message-card:hover .principal-image::before {
    opacity: 1;
}

.principal-details {
    flex: 1;
}

.principal-title {
    color: var(--navy-deep);
    font-size: 1.6rem;
    font-weight: var(--fw-bold);
    margin-bottom: 8px;
    font-family: var(--font-heading);
    letter-spacing: var(--ls-tight);
}

.principal-name {
    color: var(--secondary-color);
    font-size: 1.3rem;
    font-weight: var(--fw-semibold);
    margin-bottom: 4px;
    font-family: var(--font-heading);
}

.principal-designation {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: var(--fw-medium);
    font-style: italic;
    font-family: var(--font-primary);
}

/* Message Text */
.principal-message-text {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: var(--lh-loose);
    margin-bottom: 20px;
    font-family: var(--font-quote);
    font-style: italic;
    position: relative;
    padding: 0 15px;
}

.principal-message-text:first-of-type::before {
    content: '"';
    position: absolute;
    left: -5px;
    top: -10px;
    font-size: 3rem;
    color: var(--accent-color);
    font-family: serif;
    line-height: 1;
    opacity: 0.6;
}

.principal-message-text:last-of-type::after {
    content: '"';
    position: absolute;
    right: -5px;
    bottom: -20px;
    font-size: 3rem;
    color: var(--accent-color);
    font-family: serif;
    line-height: 1;
    opacity: 0.6;
}

/* Principal Signature */
.principal-signature {
    text-align: right;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(58, 190, 249, 0.2);
    position: relative;
}

.principal-signature::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-color));
}

.principal-signature .name {
    color: var(--navy-deep);
    font-size: 1.1rem;
    font-weight: var(--fw-semibold);
    margin-bottom: 2px;
    font-family: var(--font-heading);
}

.principal-signature .title {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: var(--fw-medium);
    font-style: italic;
    font-family: var(--font-primary);
}

/* ==========================================================================
   RESPONSIVE STYLES FOR PRINCIPAL MESSAGE CARD
   ========================================================================== */

/* Tablet Styles */
@media (max-width: 768px) {
    .principal-message-card {
        padding: 30px 25px;
    }
    
    .principal-info {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        margin-bottom: 25px;
    }
    
    .principal-image {
        width: 100px;
        height: 100px;
    }
    
    .principal-title {
        font-size: 1.4rem;
    }
    
    .principal-name {
        font-size: 1.2rem;
    }
    
    .principal-designation {
        font-size: 0.95rem;
    }
    
    .principal-message-text {
        padding: 0 10px;
        font-size: 0.95rem;
    }
    
    .principal-signature {
        text-align: center;
    }
    
    .principal-signature::before {
        left: 50%;
        transform: translateX(-50%);
        background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    }
}

/* Mobile Styles */
@media (max-width: 576px) {
    .principal-message-card {
        padding: 25px 20px;
    }
    
    .principal-image {
        width: 80px;
        height: 80px;
    }
    
    .principal-title {
        font-size: 1.3rem;
    }
    
    .principal-name {
        font-size: 1.1rem;
    }
    
    .principal-designation {
        font-size: 0.9rem;
    }
    
    .principal-message-text {
        font-size: 0.9rem;
        padding: 0 5px;
    }
    
    .principal-message-text:first-of-type::before,
    .principal-message-text:last-of-type::after {
        font-size: 2rem;
    }
}





/* ==========================================================================
   SERVICE CARD COMPONENTS
   ========================================================================== */

.service-card {
    background: 
        linear-gradient(145deg, var(--white) 0%, var(--bg-light) 50%, var(--white) 100%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23f1f5f9' fill-opacity='0.4'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-size: 100% 100%, 40px 40px;
    background-position: 0 0, 0 0;
    border-radius: var(--card-radius);
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition-bounce);
    border: 2px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--card-hover-shadow);
    border-color: rgba(59, 130, 246, 0.1);
}

.service-card > * {
    position: relative;
    z-index: 2;
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-2xl);
    background: linear-gradient(145deg, var(--white) 0%, var(--bg-light) 100%);
    border: 2px solid transparent;
    background-clip: padding-box;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--text-dark);
    margin: 0 auto 25px;
    transition: var(--transition-bounce);
    position: relative;
    box-shadow: var(--shadow-lg);
}

.service-card:hover .service-icon {
    color: var(--secondary-color);
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-xl);
}

.service-title {
    color: var(--text-dark);
    font-weight: var(--fw-semibold);
    font-size: 1.2rem;
    margin-bottom: 0;
    transition: var(--transition-slow);
    font-family: var(--font-heading);
    letter-spacing: var(--ls-normal);
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.service-card:hover .service-title {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.service-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 1px;
    transition: var(--transition-slow);
}

.service-card:hover .service-title::after {
    width: 40px;
}

/* ==========================================================================
   STATISTICS COMPONENTS
   ========================================================================== */

.stat-card {
    background: linear-gradient(145deg, var(--white) 0%, var(--bg-light) 50%, var(--white) 100%);
    border-radius: var(--radius-xl);
    padding: var(--stat-card-padding);
    text-align: center;
    position: relative;
    transition: var(--transition-bounce);
    border: 2px solid transparent;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    border-color: rgba(58, 190, 249, 0.2);
}

.stat-card > * {
    position: relative;
    z-index: 2;
}

.stat-icon {
    width: var(--stat-icon-size);
    height: var(--stat-icon-size);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, var(--white) 0%, var(--bg-light) 100%);
    border: 2px solid transparent;
    background-clip: padding-box;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-dark);
    margin: 0 auto 15px;
    transition: var(--transition-bounce);
    position: relative;
    box-shadow: var(--shadow-md);
}

.stat-card:hover .stat-icon {
    color: var(--secondary-color);
    transform: scale(1.1) rotate(8deg);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: var(--fw-extrabold);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
    font-family: var(--font-accent);
    letter-spacing: var(--ls-tight);
    position: relative;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: var(--transition-bounce);
}

.stat-card:hover .stat-number {
    transform: scale(1.05);
    text-shadow: 0 6px 20px rgba(58, 190, 249, 0.3);
}

.stat-label {
    font-size: 0.9rem;
    font-weight: var(--fw-semibold);
    color: var(--text-dark);
    margin-bottom: 0;
    font-family: var(--font-heading);
    letter-spacing: var(--ls-normal);
    transition: var(--transition-bounce);
    position: relative;
}

.stat-card:hover .stat-label {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.stat-label::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 1px;
    transition: var(--transition-bounce);
}

.stat-card:hover .stat-label::after {
    width: 30px;
}

/* Counter Animation */
.stat-number.animate {
    animation: countUp 0.8s ease-out;
}

@keyframes countUp {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}