@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #f5f5f5;
    color: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header nav ul#menu li a {
    font-size: 16px;  
    font-weight: 500; 
}

@media (max-width: 768px) {
    header nav ul#menu li a {
        font-size: 14px;
    }
}

.section__container {  
    margin-bottom: 40px;
}

header {
    background: rgba(5, 16, 34, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.4s ease;
    border-bottom: 3px solid rgba(255, 153, 0, 0.8);
}

header.scrolled {
    padding: 0.5rem 2rem;
    background: rgba(5, 16, 34, 0.98);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

nav {
    display: flex;
    align-items: center;
}

#menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

#menu li {
    position: relative;
    margin: 0 0.5rem;
}

#menu a {
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

#menu a:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #ff9900;
    transition: width 0.3s ease;
}

#menu a:hover:before,
#menu a.active:before {
    width: 100%;
}

#menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

#menu a.active {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ff9900;
}

.has-submenu > a:after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    list-style: none;
    padding: 0.5rem 0;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    margin: 0;
}

.submenu a {
    color: #333 !important;
    padding: 0.7rem 1.5rem;
    white-space: nowrap;
    display: block;
    font-weight: 500;
}

.submenu a:hover {
    background-color: #f0f0f0;
    color: #1a2a6c;
}

.submenu a:before {
    display: none;
}

.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-icon span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.content {
    max-width: 1200px;
    width: 100%;
    padding: 2rem;
    margin-top: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

p {
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-bottom p {
    color: #797979;   
}

.phone-item {
    color: #ccc  
}

@media (max-width: 992px) {
    header {
        padding: 0.8rem 1.5rem;
    }
    
    #menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(5, 16, 34, 0.95);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
    }
    
    #menu.active {
        display: flex;
    }
    
    #menu li {
        margin: 0.3rem 1rem;
    }
    
    .menu-icon {
        display: flex;
    }
    
    .menu-icon.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-icon.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-icon.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .has-submenu > a:after {
        content: '\f078';
        position: absolute;
        right: 1.5rem;
    }
    
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: rgba(255, 255, 255, 0.1);
        margin-left: 1rem;
        display: none;
        transition: all 0.3s ease;
    }
    
    .has-submenu:hover .submenu {
        display: block;
    }
    
    .submenu a {
        color: rgba(255, 255, 255, 0.9) !important;
    }
    
    .submenu a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: white !important;
    }
}

.logo1 {
    width: 100px;
    margin-bottom: 20px;
}

.ff button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 35px rgba(248, 197, 55, 0.6);
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #fff176 100%);
}

footer {
    background: linear-gradient(to bottom, #051022, #0a1a32);
    color: #fff;
    padding: 3rem 0 1rem;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ff9900, #ffcc00, #ff9900);
}

.footer-cricket-field {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, transparent 0%, #2e7d32 100%);
    opacity: 0.1;
    z-index: 1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

.footer-section {
    margin-bottom: 1.5rem;
}

.footer-heading {
    color: #ff9900;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    font-weight: 800;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: #ff9900;
    border-radius: 2px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: #ff9900;
    transform: translateX(5px);
}

.footer-links i {
    margin-right: 10px;
    color: #ff9900;
    font-size: 0.9rem;
}

.footer-address {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-contact {
    color: #ccc;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
    color: #ff9900;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-icon:hover {
    background: #ff9900;
    transform: translateY(-5px);
}

.footer-newsletter p {
    color: #ccc;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.footer-section1 p {
    color: #ccc;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    text-justify: inter-word;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-input {
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

.newsletter-input:focus {
    outline: 2px solid #ff9900;
}

.newsletter-btn {
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #ff9900, #ff6600);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: linear-gradient(135deg, #ff6600, #ff9900);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 153, 0, 0.4);
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 1.5rem 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #999;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

.footer-bottom a {
    color: #ff9900;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.cricket-ball {
    position: absolute;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff9900, #cc6600);
    border-radius: 50%;
    bottom: 20px;
    right: 15%;
    animation: bounce 8s infinite alternate;
    z-index: 1;
}

.cricket-ball::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 3px;
    background: #cc6600;
    border-radius: 2px;
}

.cricket-ball::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
    width: 70%;
    height: 3px;
    background: #cc6600;
    border-radius: 2px;
}

@keyframes bounce {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) rotate(90deg);
    }
    50% {
        transform: translateY(0) rotate(180deg);
    }
    75% {
        transform: translateY(-20px) rotate(270deg);
    }
    100% {
        transform: translateY(0) rotate(360deg);
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-section {
        margin-bottom: 1rem;
    }
    
    .footer-heading {
        font-size: 1.3rem;
    }
    
    .cricket-ball {
        display: none;
    }
    
    .newsletter-form {
        flex-direction: row;
    }
    
    .newsletter-input {
        flex: 1;
    }
}

@media (max-width: 576px) {
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-social {
        justify-content: center;
    }
}