/* ==================================================
   SSP JYOTHISHYALAYA V3.0
   Part 1 - Reset | Header | Hero
================================================== */

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

/* Reset */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#fffaf5;
    color:#333;
    line-height:1.7;
    overflow-x:hidden;
}

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

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

.container{
    width:90%;
    max-width:1300px;
    margin:auto;
}

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

.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:999;
    background:rgba(70,0,15,.92);
    backdrop-filter:blur(10px);
    box-shadow:0 4px 20px rgba(0,0,0,.25);
}

.header .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:12px 0;
}

/* Logo */

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

.logo img{
    width:78px;
    height:78px;
    border-radius:50%;
    border:3px solid #FFD700;
    background:#ffffff;
}

.logo-text h2{
    color:#ffffff;
    font-size:30px;
    font-weight:800;
    letter-spacing:1px;
    margin-bottom:3px;
    text-shadow:0 2px 8px rgba(0,0,0,.8);
}

.logo-text p{
    color:#f5f5f5;
    text-shadow:0 2px 8px rgba(0,0,0,.8);
    font-size:15px;
    letter-spacing:1px;
    opacity:.95;
}

/* Navigation */

nav ul{
    display:flex;
    gap:45px;
}

nav ul li a{
    color:#ffffff;
    font-size:18px;
    font-weight:700;
    text-shadow:0 2px 8px rgba(0,0,0,.9);
    transition:.3s;
}

/* Header Buttons */

.header-buttons{
    display:flex;
    gap:12px;
}

.call-btn,
.whatsapp-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:10px 22px;
    border-radius:30px;
    font-weight:600;
    transition:.3s;
}

.call-btn{
    background:#FFD700;
    color:#5b0000;
}

.call-btn:hover{
    transform:translateY(-3px);
}

.whatsapp-btn{
    background:#25D366;
    color:#fff;
}

.whatsapp-btn:hover{
    transform:translateY(-3px);
}

/* ===========================
   HERO SECTION
=========================== */

.hero{
    position:relative;
    min-height:100vh;
    display:flex;
    align-items:center;
    padding-top:30px;
    background:
    linear-gradient(rgba(60,0,0,.65),rgba(60,0,0,.65)),
    url("../images/temple.png") center center/cover no-repeat;
}

.hero-container{
    width:90%;
    max-width:1300px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:60px;
    padding-top:80px;
}

/* Left */

.hero-content{
    flex:1;
    color:#fff;
}

.hero-tag{
    display:inline-block;
    background:#FFD700;
    color:#5b0000;
    padding:10px 22px;
    border-radius:30px;
    font-weight:bold;
    margin-bottom:25px;
}

.hero-content h1{
    font-size:60px;
    color:#FFD700;
    line-height:1.1;
    letter-spacing:1px;
    margin-bottom:20px;
    text-shadow:0 4px 15px rgba(0,0,0,.35);
}

.hero-content h3{
    font-size:36px;
    font-weight:700;
    color:#fff;
    margin-bottom:18px;
}

.hero-content h4{
    font-size:26px;
    color:#fff;
    margin-bottom:5px;
}

.hero-content p{
    font-size:20px;
    line-height:1.8;
    color:#f5f5f5;
    margin-bottom:35px;
}

.experience{
    color:#FFD700;
    font-size:20px;
    font-weight:700;
    margin-bottom:20px;
}

.hero-list{
    margin:20px 0;
}

.hero-list li{
    color:#fff;
    margin:12px 0;
    font-size:18px;
}

/* Buttons */

.hero-buttons{
    margin-top:30px;
}

.btn,
.btn2{
    display:inline-block;
    padding:18px 38px;
    border-radius:50px;
    font-size:18px;
    font-weight:700;
    transition:.3s;
    margin-right:15px;
}

.btn{
    background:#FFD700;
    color:#5b0000;
}

.btn:hover{
    transform:translateY(-4px);
    box-shadow:0 10px 25px rgba(255,215,0,.45);
}

.btn2{
    background:#d40000;
    color:#fff;
}

.btn2:hover{
    transform:translateY(-4px);
}

/* Right */

.hero-image{
    flex:1;
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:520px;
}

.guru-glow{
    position:absolute;
    width:420px;
    height:420px;
    border-radius:50%;
    background:radial-gradient(circle,#FFD700 0%,transparent 70%);
    filter:blur(35px);
    z-index:1;
}

.zodiac-wheel{
    position:absolute;
    width:430px;
    opacity:.35;
    animation:rotateWheel 60s linear infinite;
    z-index:2;
}

.guruji-img{
    position:relative;
    width:320px;
    border-radius:20px;
    border:6px solid gold;
    box-shadow:0 0 35px rgba(255,215,0,.7);
    z-index:3;
}

/* Animation */

@keyframes rotateWheel{

from{
    transform:rotate(0deg);
}

to{
    transform:rotate(360deg);
}

}

@keyframes floatGuruji{

0%{
    transform:translateY(0);
}

50%{
    transform:translateY(-12px);
}

100%{
    transform:translateY(0);
}

}

.guruji-img{
    animation:floatGuruji 4s ease-in-out infinite;
}

/* ==================================================
   PART 2
   About | Services | Why Choose Us
==================================================*/

/* ===========================
   SECTION TITLE
=========================== */

.section-title{
    text-align:center;
    max-width:700px;
    margin:0 auto 60px;
}

.section-tag{
    display:inline-block;
    background:#FFD700;
    color:#5b0000;
    padding:10px 22px;
    border-radius:30px;
    font-weight:700;
    margin-bottom:20px;
}

.section-title h2{
    font-size:42px;
    color:#5b0000;
    margin:20px 0;
}

.section-title p{
    font-size:18px;
    color:#666;
    line-height:1.8;
}

/* ===========================
   ABOUT SECTION
=========================== */

.about{
    padding:100px 0;
    background:#fff8ef;
}

.about-container{
    width:90%;
    max-width:1300px;
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:60px;
}

.about-image{
    flex:1;
    text-align:center;
}

.about-image img{
    width:420px;
    max-width:100%;
    border-radius:25px;
    border:5px solid #FFD700;
    box-shadow:0 20px 40px rgba(0,0,0,.20);
}

.about-content{
    flex:1;
}

.about-content h2{
    font-size:42px;
    color:#5b0000;
    margin-bottom:25px;
}

.about-content p{
    font-size:18px;
    line-height:1.9;
    color:#555;
    margin-bottom:35px;
}

.about-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.about-box{
    background:#fff;
    padding:25px;
    border-radius:18px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.about-box:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 35px rgba(0,0,0,.15);
}

.about-box h3{
    font-size:36px;
    color:#8B0000;
    margin-bottom:10px;
}

.about-box span{
    color:#555;
    font-weight:600;
}

/* ===========================
   SERVICES
=========================== */

.services{
    padding:100px 0;
    background:#ffffff;
}

.services-grid{
    width:90%;
    max-width:1300px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.service-card{
    background:#fffaf2;
    padding:35px 25px;
    text-align:center;
    border-radius:20px;
    border:2px solid transparent;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.35s;
}

.service-card:hover{
    transform:translateY(-10px);
    border-color:#FFD700;
    box-shadow:0 20px 40px rgba(0,0,0,.15);
}

.icon{
    font-size:55px;
    margin-bottom:20px;
}

.service-card h3{
    color:#5b0000;
    margin-bottom:15px;
    font-size:24px;
}

.service-card p{
    color:#666;
    font-size:17px;
    line-height:1.8;
}

/* ===========================
   WHY CHOOSE US
=========================== */

.why-us{
    padding:100px 0;
    background:#fff8ef;
}

.why-grid{
    width:90%;
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
}

.why-card{
    background:#fff;
    padding:35px;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.why-card:hover{
    transform:translateY(-8px);
    border-left:6px solid #FFD700;
}

.why-card h3{
    color:#5b0000;
    font-size:24px;
    margin-bottom:15px;
}

.why-card p{
    color:#555;
    line-height:1.8;
    font-size:17px;
}

/* ===========================
   COMMON ANIMATION
=========================== */

.service-card,
.about-box,
.why-card{
    transition:all .35s ease;
}

.service-card:hover,
.about-box:hover,
.why-card:hover{
    cursor:pointer;
}

/* ==================================================
   PART 3
   Panchanga | Lakshmi | YouTube | Contact
==================================================*/

/* ===========================
   PANCHANGA
=========================== */

.panchanga{
    padding:100px 0;
    background:linear-gradient(180deg,#f8f1e7,#efe2d1);
}

.panchanga-grid{
    width:90%;
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.panchanga-card{
    background:#fffdf8;
    padding:35px;
    border-radius:20px;
    text-align:center;
    border-top:5px solid #FFD700;
    box-shadow:0 12px 30px rgba(0,0,0,.15);
    transition:.35s;
}

.panchanga-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 35px rgba(0,0,0,.15);
}

.panchanga-card h3{
    color:#5b0000;
    font-size:22px;
    margin-bottom:15px;
}

.panchanga-card span{
    color:#444;
    font-size:18px;
    font-weight:600;
}

/* ===========================
   LAKSHMI SECTION
=========================== */

.lakshmi-banner{
    padding:100px 0;
    background:linear-gradient(135deg,#5b0000,#8b0000,#5b0000);
}

.lakshmi-content{
    width:90%;
    max-width:1300px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:60px;
}

.lakshmi-text{
    flex:1;
    color:#fff;
}

.lakshmi-text h2{
    color:#FFD700;
    font-size:46px;
    margin-bottom:25px;
}

.lakshmi-text p{
    font-size:19px;
    line-height:2;
    margin-bottom:35px;
}

.btn-gold{
    display:inline-block;
    background:#FFD700;
    color:#5b0000;
    padding:15px 35px;
    border-radius:35px;
    font-weight:700;
    transition:.3s;
}

.btn-gold:hover{
    transform:translateY(-4px);
    box-shadow:0 10px 25px rgba(255,215,0,.4);
}

.lakshmi-image{
    flex:1;
    text-align:center;
}

.lakshmi-image img{
    width:420px;
    max-width:100%;
    border-radius:25px;
    border:5px solid #FFD700;
    box-shadow:0 20px 40px rgba(0,0,0,.35);
}

/* ===========================
   YOUTUBE
=========================== */

.youtube-section{
    padding:100px 0;
    background:#ffffff;
}

.youtube-grid{
    width:90%;
    max-width:1300px;
    margin:auto;
    display:flex;
    align-items:center;
    gap:50px;
}

.video-card{
    flex:1;
}

.video-card iframe{
    width:100%;
    height:360px;
    border:none;
    border-radius:20px;
    box-shadow:0 15px 35px rgba(0,0,0,.15);
}

.youtube-text{
    flex:1;
}

.youtube-text h3{
    color:#5b0000;
    font-size:36px;
    margin-bottom:20px;
}

.youtube-text p{
    color:#555;
    font-size:18px;
    line-height:1.9;
    margin-bottom:35px;
}

.btn-red{
    display:inline-block;
    background:#cc0000;
    color:#fff;
    padding:15px 35px;
    border-radius:35px;
    font-weight:700;
    transition:.3s;
}

.btn-red:hover{
    background:#a00000;
    transform:translateY(-4px);
}

/* ===========================
   CONTACT
=========================== */

.contact-section{
    padding:100px 0;
    background:#fff8ef;
}

.contact-grid{
    width:90%;
    max-width:1200px;
    margin:50px auto 0;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.contact-card{
    background:#ffffff;
    padding:40px 30px;
    text-align:center;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.35s;
}

.contact-card:hover{
    transform:translateY(-10px);
}

.contact-card h3{
    color:#5b0000;
    margin-bottom:20px;
    font-size:24px;
}

.contact-card p{
    color:#555;
    line-height:1.8;
    margin-bottom:10px;
}

.contact-card a{
    color:#5b0000;
    font-weight:700;
    transition:.3s;
}

.contact-card a:hover{
    color:#FFD700;
}

/* ==================================================
   PART 4
   Footer | Floating Buttons | Utilities | Animation
==================================================*/

/* ===========================
   FOOTER
=========================== */

.footer{
    background:#2b0000;
    color:#ffffff;
    padding:70px 0 25px;
}

.footer-container{
    width:90%;
    max-width:1300px;
    margin:auto;
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:40px;
}

.footer-logo img{
    width:120px;
    margin-bottom:20px;
}

.footer-logo h2{
    color:#FFD700;
    margin-bottom:10px;
    font-size:30px;
}

.footer-logo p{
    color:#ddd;
    line-height:1.8;
}

.footer h3{
    color:#FFD700;
    margin-bottom:20px;
    font-size:22px;
}

.footer-links a{
    display:block;
    color:#ffffff;
    margin-bottom:12px;
    transition:.3s;
}

.footer-links a:hover{
    color:#FFD700;
    padding-left:8px;
}

.footer-contact p{
    margin-bottom:12px;
    color:#eeeeee;
}

.copyright{
    margin-top:50px;
    text-align:center;
    border-top:1px solid rgba(255,255,255,.2);
    padding-top:20px;
    color:#cccccc;
    font-size:15px;
}

/* ===========================
   FLOATING BUTTONS
=========================== */

.call-float{
    position:fixed;
    left:25px;
    bottom:25px;
    width:60px;
    height:60px;
    background:#8B0000;
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:50%;
    font-size:26px;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
    z-index:999;
    transition:.3s;
}

.call-float:hover{
    transform:scale(1.1);
    background:#b30000;
}

.whatsapp-float{
    position:fixed;
    right:25px;
    bottom:25px;
    width:60px;
    height:60px;
    background:#25D366;
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:50%;
    font-size:28px;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
    z-index:999;
    transition:.3s;
}

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

/* ===========================
   SCROLL ANIMATION
=========================== */

.fade-up{
    opacity:0;
    transform:translateY(40px);
    transition:all .8s ease;
}

.fade-up.show{
    opacity:1;
    transform:translateY(0);
}

/* ===========================
   COMMON HOVER EFFECTS
=========================== */

img{
    transition:.4s;
}

img:hover{
    transform:scale(1.02);
}

button,
.btn,
.btn2,
.btn-gold,
.btn-red{
    transition:.35s;
}

/* ===========================
   CUSTOM SCROLLBAR
=========================== */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#f4f4f4;
}

::-webkit-scrollbar-thumb{
    background:#8B0000;
    border-radius:20px;
}

::-webkit-scrollbar-thumb:hover{
    background:#b30000;
}

/* ===========================
   SELECTION COLOR
=========================== */

::selection{
    background:#FFD700;
    color:#5b0000;
}

/* ===========================
   BACK TO TOP
=========================== */

#backToTop{
    position:fixed;
    bottom:100px;
    right:25px;
    width:50px;
    height:50px;
    border:none;
    border-radius:50%;
    background:#FFD700;
    color:#5b0000;
    cursor:pointer;
    display:none;
    font-size:22px;
    z-index:999;
    box-shadow:0 8px 20px rgba(0,0,0,.2);
}

#backToTop:hover{
    background:#ffcc00;
}

/* ===========================
   SPACING
=========================== */

section{
    overflow:hidden;
}

h1,h2,h3,h4{
    font-weight:700;
}

p{
    line-height:1.8;
}

/* ===========================
   FINAL OPTIMIZATION
=========================== */

.hero,
.about,
.services,
.why-us,
.panchanga,
.lakshmi-banner,
.youtube-section,
.contact-section,
.footer{
    width:100%;
}

html,
body{
    overflow-x:hidden;
}

.dark-mode{

background:#111;

color:#eee;

}

.dark-mode .about,
.dark-mode .services,
.dark-mode .youtube-section,
.dark-mode .contact-section{

background:#1d1d1d;

}

.dark-mode .service-card,
.dark-mode .contact-card,
.dark-mode .about-box{

background:#2a2a2a;

color:white;

}