/* Exact Design Match CSS with Enhanced Animations */
:root {
    --primary-blue: #1e40af;
    --hero-blue: #1e3a8a;
    --deep-blue: #1e40af;
    --light-blue: #3b82f6;
    --red-accent: #dc2626;
    --orange-accent: #ea580c;
    --white: #ffffff;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden !important;
}

/* Loading Animation */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--hero-blue) 0%, var(--deep-blue) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: all 0.5s ease;
}

.loader-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: white;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loader-text {
    font-size: 1.2rem;
    font-weight: 600;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Hero Section - Exact Blue Background */
.hero-section {
    background-image: url('../images/Hero_Content/Surat-Gurukul.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    position: relative; /* Add this */
}

/* Blue particle effect */
/* .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(30, 58, 138, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(30, 64, 175, 0.2) 0%, transparent 50%);
    animation: particleFloat 8s ease-in-out infinite;
} */

@keyframes particleFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-20px) scale(1.1); }
}

/* Top Navigation */
.top-nav {
    padding: 20px 0;
    position: relative;
    z-index: 10;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.main-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.3); }
    50% { box-shadow: 0 0 40px rgba(255, 255, 255, 0.6); }
}

.logo-text h4 {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.social-dots {
    display: flex;
    gap: 8px;
    margin-top: 5px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

.youtube-dot { background: #ff0000; animation-delay: 0s; }
.instagram-dot { background: #e4405f; animation-delay: 0.5s; }
.facebook-dot { background: #1877f2; animation-delay: 1s; }
.twitter-dot { background: #1da1f2; animation-delay: 1.5s; }

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.profile-section {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.profile-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all var(--transition-base);
    animation: profileFloat 4s ease-in-out infinite;
}

.profile-img:hover {
    transform: scale(1.1);
    border-color: white;
}

.profile-img:nth-child(2) {
    animation-delay: 1s;
}

@keyframes profileFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Hero Main Content */
.hero-main {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 40px 0;
    position: relative;
    z-index: 5;
}

/* Building Section */
.building-section {
    text-align: center;
}

.clock-tower {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.3));
}

.floating-animation {
    animation: floatUp 6s ease-in-out infinite;
}

@keyframes floatUp {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Deity Section */
.deity-section {
    text-align: center;
    position: relative;
}

.deity-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
    z-index: 1;
    letter-spacing: 8px;
    white-space: nowrap;
    animation: textGlow 4s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.3; }
}

.deity-image {
    position: relative;
    z-index: 2;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.4));
}

.glow-animation {
    animation: deityGlow 4s ease-in-out infinite;
}

@keyframes deityGlow {
    0%, 100% { 
        filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.4)) 
                drop-shadow(0 0 30px rgba(255, 255, 255, 0.2)); 
    }
    50% { 
        filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.4)) 
                drop-shadow(0 0 50px rgba(255, 255, 255, 0.4)); 
    }
}

/* Temple Section */
.temple-section {
    text-align: center;
}

.temple-image {
    max-width: 100%;
    height: auto;
    opacity: 0.8;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.3));
}

.floating-animation-reverse {
    animation: floatDown 6s ease-in-out infinite;
}

@keyframes floatDown {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(15px); }
}

/* Wave Divider */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.wave-divider .shape-fill {
    fill: var(--white);
}

/* About Section */
.about-section {
    background: var(--white);
    padding: 0px 0 80px;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--red-accent);
    margin-bottom: 15px;
}

.about-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--red-accent);
    margin-bottom: 25px;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 20px;
    text-align: justify;
}

.about-image img {
    border-radius: 15px;
    transition: transform var(--transition-slow);
}

.about-image img:hover {
    transform: scale(1.05);
}

/* Social Media Section */
/* Social Media Links */
.social-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.social-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Social Images */
.social-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
}

.social-card:hover .social-image {
    transform: scale(1.1);
}

/* Updated Social Button with Icons */
.social-button {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    color: white;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
}

.social-button i {
    font-size: 1.5rem;
}

/* Remove the preview-placeholder styles since we're using real images */
.preview-placeholder {
    display: none;
}
.social-media-section {
    background: var(--gray-100);
    padding: 80px 0;
}

.social-media-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 50px;
}

.social-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    cursor: pointer;
    height: 300px;
    position: relative;
}

.social-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.social-preview {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.preview-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gray-200);
    position: relative;
}

.preview-placeholder::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--gray-300);
    border-radius: 10px;
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.social-button {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
}

.social-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.social-card:hover .social-button::before {
    left: 100%;
}

/* Social Platform Colors */
.youtube-card .social-button { background: #ff0000; }
.instagram-card .social-button { background: #e4405f; }
.facebook-card .social-button { background: #1877f2; }
.twitter-card .social-button { background: #1da1f2; }

/* Enhanced Section Headers */
.section-header {
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: white;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-md);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-800);
    margin-bottom: 1rem;
    position: relative;
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Enhanced View More Section */
.view-more-section {
    /*background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);*/
    padding: 5rem 0;
    position: relative;
}

.view-more-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="temple-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(220,38,38,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23temple-pattern)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

/* Modern Temple Cards */
.modern-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    border: 1px solid var(--gray-200);
}

.modern-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--red-accent), var(--orange-accent));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.modern-card:hover::before {
    transform: scaleX(1);
}

/* Enhanced Temple Header */
.temple-header {
    background: linear-gradient(135deg, var(--gray-100), var(--white));
    padding: 1.5rem;
    text-align: center;
    position: relative;
    border-bottom: 2px solid var(--gray-200);
}

.logo-container {
    width: 100%;
    height: auto;
    margin: 0 auto 1rem;
    position: relative;
    border-radius: 50%;
    /* background: var(--white); */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.modern-card:hover .logo-container {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-lg);
}

.temple-logo {
    width: 80%;
    height: 100px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.temple-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--red-accent);
    margin: 0 0 0.5rem 0;
    font-family: 'Inter', sans-serif;
}

.temple-subtitle {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin: 0;
    font-weight: 500;
}

/* Enhanced Temple Image Container */
.temple-image-container {
    position: relative;
}

.temple-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* Perfect 1:1 ratio */
    overflow: hidden;
    background: var(--gray-200);
}

.temple-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.5s ease;
    filter: brightness(0.9) saturate(1.1);
}

.modern-card:hover .temple-img {
    transform: scale(1.1);
    filter: brightness(1) saturate(1.3);
}

/* Image Overlay */
/* .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.8), rgba(234, 88, 12, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
} */

.modern-card:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.modern-card:hover .overlay-content {
    transform: translateY(0);
}

.view-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    animation: iconPulse 2s ease-in-out infinite;
}

.overlay-text {
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Temple Info */
.temple-info {
    padding: 1rem 1.5rem;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    color: var(--red-accent);
    width: 16px;
    text-align: center;
}

/* Temple Footer */
.temple-footer {
    padding: 1.5rem;
    background: var(--white);
    text-align: center;
}

.btn-explore {
    background: linear-gradient(135deg, var(--red-accent), var(--orange-accent));
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.btn-explore::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-explore:hover::before {
    left: 100%;
}

.btn-explore:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #c53030, #d69e2e);
}

.btn-explore i {
    transition: transform 0.3s ease;
}

.btn-explore:hover i {
    transform: translateX(5px);
}

/* Fallback for missing images */
/* .temple-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--gray-300);
    border-radius: 15px;
    z-index: 1;
    opacity: 0.5;
} */

/* .temple-image::after {
    content: '🏛️';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    z-index: 2;
    opacity: 0.7;
} */

/* Hide fallback when image loads */
.temple-img[src]:not([src=""]) ~ ::before,
.temple-img[src]:not([src=""]) ~ ::after {
    display: none;
}

/* Responsive Design for Temple Cards */
@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }
    
    .modern-card {
        margin-bottom: 2rem;
    }
    
    .temple-image {
        aspect-ratio: 1 / 1;
    }
    
    .view-icon {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .view-more-section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .temple-header {
        padding: 1rem;
    }
    
    .logo-container {
        height: 80px;
    }
    
    .temple-logo {
        height: 60px;
    }
    
    .temple-title {
        font-size: 1.1rem;
    }
    
    .temple-subtitle {
        font-size: 0.85rem;
    }
    
    .temple-info {
        padding: 0.75rem 1rem;
    }
    
    .temple-footer {
        padding: 1rem;
    }
    
    .btn-explore {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .modern-card {
        margin-bottom: 1.5rem;
    }
    
    .temple-image {
        aspect-ratio: 1 / 1;
    }
    
    .view-icon {
        font-size: 1.8rem;
    }
    
    .overlay-text {
        font-size: 1rem;
    }
}

/* Additional Animation Classes */
@keyframes iconPulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 1; 
    }
    50% { 
        transform: scale(1.1); 
        opacity: 0.8; 
    }
}

/* Contact Section */
.contact-section {
    background: var(--gray-100);
    padding: 80px 0;
}

.contact-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 50px;
}

.contact-info {
    padding: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--orange-accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.contact-details h6 {
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 8px;
    font-size: 1rem;
}

.contact-details p {
    color: var(--gray-600);
    margin: 0;
    line-height: 1.5;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.form-control {
    border: 2px solid var(--gray-300);
    border-radius: 10px;
    padding: 15px;
    font-size: 1rem;
    transition: all var(--transition-base);
    background: white;
}

.form-control:focus {
    border-color: var(--orange-accent);
    box-shadow: 0 0 0 0.2rem rgba(234, 88, 12, 0.25);
    outline: none;
}

.form-control::placeholder {
    color: var(--gray-400);
}

.btn-submit {
    background: var(--orange-accent);
    border: none;
    color: white;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-submit:hover::before {
    left: 100%;
}

/* Footer Section */
.footer-section {
    background: var(--gray-900);
    color: var(--gray-300);
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-logo-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--primary-blue);
    padding: 10px;
    background: white;
    animation: footerLogoGlow 4s ease-in-out infinite;
}

@keyframes footerLogoGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(30, 64, 175, 0.3); }
    50% { box-shadow: 0 0 40px rgba(30, 64, 175, 0.6); }
}

.footer-title {
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-content p {
    color: var(--gray-400);
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-content i {
    color: var(--orange-accent);
    width: 20px;
    margin-right: 10px;
}

.newsletter-form .input-group {
    background: var(--gray-800);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--gray-700);
}
.newsletter-form .input-group.focused {
    .form-control{transform: none !important;}
}

.newsletter-form .form-control {
    background: transparent;
    border: none;
    border-radius: 10px 0 0 10px !important;
    /* color: white; */
    padding: 15px;
}

.newsletter-form .form-control:focus {
    background: transparent;
    border: none;
    box-shadow: none;
    /* color: white; */
    outline: none;
    border-radius: 10px 0 0 10px;
    transform: none;
}

/* .newsletter-form .form-control::placeholder {
    color: var(--gray-500);
} */

.btn-newsletter {
    background: #d97706 !important;
    border: none;
    border-radius: 0 10px 10px 0 !important;
    color: white;
    padding: 15px 20px;
    transition: all var(--transition-base);
}

.btn-newsletter:hover {
    background: var(--orange-accent) !important;
    /* transform: scale(1.1); */
}

.footer-bottom {
    background: var(--gray-800);
    padding: 20px 0;
    border-top: 1px solid var(--gray-700);
}

.footer-bottom p {
    margin: 0;
    color: var(--gray-400);
    font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--orange-accent);
    color: white;
    border: none;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #d97706;
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .deity-bg-text {
        font-size: 3rem;
        letter-spacing: 4px;
    }
}

@media (max-width: 992px) {
    .hero-main {
        text-align: center;
        padding: 20px 0;
    }
    
    .deity-bg-text {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .about-title, .view-more-section h2, .contact-section h2 {
        font-size: 2rem;
    }
    
    .about-subtitle {
        font-size: 1.3rem;
    }
    
    .social-card {
        height: 250px;
        margin-bottom: 20px;
    }
    
    .social-preview {
        height: 150px;
    }
    
    .social-button {
        height: 100px;
    }
}

@media (max-width: 768px) {
    .top-nav {
        padding: 15px 0;
    }
    
    .logo-section {
        justify-content: center;
        gap: 10px;
    }
    
    .profile-section {
        justify-content: flex-start;
        margin-top: 15px;
    }
    
    .main-logo {
        width: 70px;
        height: 70px;
    }
    
    .logo-text h4 {
        font-size: 1.5rem;
    }
    .dot{
        width: 18px;
        height: 18px;
    }
    
    .deity-bg-text {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .about-title, .social-media-section h2, .view-more-section h2, .contact-section h2 {
        font-size: 1.8rem;
    }
    
    .about-subtitle {
        font-size: 1.2rem;
    }
    
    .about-text {
        font-size: 1rem;
        text-align: left;
    }
    
    .social-card {
        height: 220px;
    }
    
    .social-preview {
        height: 130px;
    }
    
    .social-button {
        height: 90px;
        font-size: 1rem;
    }
    
    .temple-image {
        height: 150px;
    }
    
    .contact-item {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .contact-form {
        padding: 30px;
        margin-top: 30px;
    }
    
    .footer-main {
        text-align: center;
        padding: 40px 0 30px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 80vh;
    }
    
    .deity-bg-text {
        font-size: 1.5rem;
        letter-spacing: 0px;
    }
    
    .about-title, .social-media-section h2, .view-more-section h2, .contact-section h2 {
        font-size: 1.5rem;
    }
    
    .about-subtitle {
        font-size: 1.1rem;
    }
    
    .social-card {
        height: 200px;
    }
    
    .social-preview {
        height: 120px;
    }
    
    .social-button {
        height: 80px;
        font-size: 0.9rem;
    }
    
    .temple-card {
        margin-bottom: 20px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .footer-logo-img {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 400px) {
    .logo-text h4 {
        font-size: 0.9rem;
    }
    
    .social-dots {
        gap: 5px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .profile-img {
        width: 40px;
        height: 40px;
    }
    
    .deity-bg-text {
        display: none;
    }
    
    .about-title, .social-media-section h2, .view-more-section h2, .contact-section h2 {
        font-size: 1.3rem;
    }
    
    .social-card {
        height: 180px;
    }
    
    .social-preview {
        height: 100px;
    }
    
    .social-button {
        height: 80px;
        font-size: 0.8rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--orange-accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d97706;
}

/* Selection Styles */
::selection {
    background: var(--orange-accent);
    color: white;
}

::-moz-selection {
    background: var(--orange-accent);
    color: white;
}

/* Focus Styles for Accessibility */
.form-control:focus,
.btn:focus,
.back-to-top:focus {
    outline: 2px solid var(--orange-accent);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .loader-overlay,
    .back-to-top {
        display: none !important;
    }
    
    .hero-section {
        background: white !important;
        color: black !important;
    }
    
    * {
        box-shadow: none !important;
        animation: none !important;
    }
}




/* ----------------------achievements-section  */
.achievements-section {
  background: linear-gradient(135deg, #f3f4f6 0%, #ffffff 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 15px;
}

.section-description {
  font-size: 1.1rem;
  color: #6b7280;
  margin-bottom: 0;
}

.achievement-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.achievement-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.achievement-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  position: relative;
  z-index: 2;
}

.youtube-card .achievement-icon {
  background: linear-gradient(135deg, #ff0000, #cc0000);
}

.facebook-card .achievement-icon {
  background: linear-gradient(135deg, #1877f2, #0d5dbf);
}

.instagram-card .achievement-icon {
  background: linear-gradient(135deg, #e4405f, #c13584, #833ab4);
}

.achievement-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 10px;
}

.achievement-number {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, #dc2626, #ea580c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  font-family: 'Arial', sans-serif;
}

.achievement-label {
  font-size: 1.1rem;
  color: #6b7280;
  font-weight: 600;
  margin: 0;
}

.achievement-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.achievement-card:hover .achievement-glow {
  opacity: 1;
}

.celebration-btn {
  background: linear-gradient(135deg, #dc2626, #ea580c);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.celebration-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(220, 38, 38, 0.4);
  background: linear-gradient(135deg, #b91c1c, #d97706);
}

.celebration-btn i {
  animation: trophyBounce 2s ease-in-out infinite;
}

@keyframes trophyBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2) rotate(5deg); }
}

/* Enhanced Fireworks Styles */
.fireworks-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
  overflow: hidden;
}

.firework {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: firework 3s ease-out forwards;
  box-shadow: 0 0 20px currentColor;
}

.big-firework {
  width: 12px;
  height: 12px;
  box-shadow: 0 0 30px currentColor, 0 0 60px currentColor;
}

@keyframes firework {
  0% {
    transform: scale(0) rotate(0deg);
    opacity: 1;
  }
  15% {
    transform: scale(1.5) rotate(45deg);
    opacity: 1;
  }
  50% {
    transform: scale(2) rotate(180deg);
    opacity: 0.8;
  }
  100% {
    transform: scale(0) rotate(360deg);
    opacity: 0;
  }
}

.spark {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  animation: spark 2.5s ease-out forwards;
  box-shadow: 0 0 10px currentColor;
}

.big-spark {
  width: 6px;
  height: 6px;
  animation: bigSpark 3s ease-out forwards;
  box-shadow: 0 0 15px currentColor, 0 0 30px currentColor;
}

@keyframes spark {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  20% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(0) translate(var(--random-x), var(--random-y));
    opacity: 0;
  }
}

@keyframes bigSpark {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  15% {
    transform: scale(1.5);
    opacity: 1;
  }
  100% {
    transform: scale(0) translate(var(--random-x), var(--random-y));
    opacity: 0;
  }
}

/* Heart Fireworks */
.heart-firework {
  position: absolute;
  width: 0;
  height: 0;
  animation: heartExplosion 2.5s ease-out forwards;
}

.heart-firework::before {
  content: '❤️';
  position: absolute;
  font-size: 20px;
  animation: heartFloat 2.5s ease-out forwards;
}

@keyframes heartExplosion {
  0% {
    transform: scale(0) rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: scale(1.5) rotate(180deg);
    opacity: 1;
  }
  100% {
    transform: scale(0) rotate(360deg);
    opacity: 0;
  }
}

@keyframes heartFloat {
  0% {
    transform: translateY(0) scale(0);
    opacity: 1;
  }
  50% {
    transform: translateY(-50px) scale(1.2);
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) scale(0);
    opacity: 0;
  }
}

/* Star Burst Fireworks */
.star-burst {
  position: absolute;
  animation: starBurst 2s ease-out forwards;
}

.star-burst::before {
  content: '⭐';
  position: absolute;
  font-size: 25px;
  animation: starSpin 2s linear forwards;
}

@keyframes starBurst {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  50% {
    transform: scale(2);
    opacity: 1;
  }
  100% {
    transform: scale(3);
    opacity: 0;
  }
}

@keyframes starSpin {
  0% {
    transform: rotate(0deg) scale(0);
  }
  50% {
    transform: rotate(180deg) scale(1.5);
  }
  100% {
    transform: rotate(360deg) scale(0);
  }
}

/* Confetti Fireworks */
.confetti {
  position: absolute;
  width: 8px;
  height: 8px;
  animation: confettiFall 3s ease-out forwards;
}

@keyframes confettiFall {
  0% {
    transform: translateY(-20px) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(400px) rotate(720deg);
    opacity: 0;
  }
}

/* Counter Animation */
@keyframes countUp {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.counting {
  animation: countUp 0.3s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  
  .achievement-number {
    font-size: 2.5rem;
  }
  
  .achievement-card {
    padding: 1.5rem;
  }
  
  .achievement-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }
}

/* ----------------------achievements-section end   */