/* Reset & Base */
:root {
    --primary-color: #3CDDD4;
    --secondary-color: #FF786A;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --light-gray: #f4f6f8;
    --dark-gray: #2d3436;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
    color: var(--text-dark);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    /*background-color: var(--secondary-color);*/
    background-color:rgba(60, 221, 212);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #e66a5c;
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: #34c4bc;
    transform: translateY(-2px);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--dark-gray);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 10px auto 0;
}

.section-title p {
    color: var(--text-light);
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 5px;
}

.logo span {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.header-cta {
    display: none;
}

.hamburger {
    display: block;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: var(--transition);
    background-color: var(--text-dark);
}

/* Mobile Menu */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        gap: 0;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }

    .nav-item {
        margin: 16px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (min-width: 769px) {
    .hamburger {
        display: none;
    }
    
    .header-cta {
        display: block;
    }
}

/* Hero Section */
.hero {
    min-height: 80vh;
    background: linear-gradient(135deg, #e0f7fa 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    padding-top: 50px;
    padding-bottom: 10px;
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 50%;
    height: 80%;
    background: radial-gradient(circle, rgba(60, 221, 212, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    max-width: 600px;
    text-align: left;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 5px;
    line-height: 1.2;
    color: var(--dark-gray);
    text-shadow: none;
}

.hero h1 span {
    color: var(--primary-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-light);
    opacity: 1;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero-buttons .btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.hero-buttons .btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px; /* Modern rounded corners */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
    border: 0px solid var(--white);
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(0deg);
}

/* Responsive Hero */
@media (max-width: 992px) {
    .hero {
        text-align: center;
        padding-top: 120px;
    }

    .hero-container {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .hero-text {
        text-align: center;
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image img {
        transform: none;
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-image img {
        max-width: 100%;
    }
}

/* Differentials */
.differentials {
    padding: 50px 0;
    background-color: var(--white);
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.diff-card {
    text-align: center;
    padding: 30px;
    border-radius: var(--radius);
    background-color: var(--light-gray);
    transition: var(--transition);
}

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

.diff-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.diff-card h3 {
    margin-bottom: 0px;
    color: var(--dark-gray);
}

/* Services */
.services {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.service-item {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(60, 221, 212, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Club */
.club {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), #2cb5ad);
    color: var(--white);
    text-align: center;
}

.club .section-title h2 {
    color: var(--white);
}

.club .section-title h2::after {
    background-color: var(--white);
}

.club .section-title p {
    color: rgba(255,255,255,0.9);
}

.club-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    padding: 20px;
    border-radius: var(--radius);
    width: 200px;
    border: 1px solid rgba(255,255,255,0.2);
}

.benefit-number {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
    display: block;
}

/* Units */
.units {
    padding: 50px 0;
}

.units-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
}

.unit-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #eee;
}

.unit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.unit-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    background-color: #ddd;
}

.unit-info {
    padding: 20px;
}

.unit-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.unit-info p {
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.unit-actions {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.8rem;
    flex: 1;
}

/* Categories */
.categories {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.cat-item {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.cat-item:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.cat-item h4 {
    font-weight: 600;
}

/* Institutional */
.institutional {
    padding: 80px 0;
}

.inst-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (min-width: 768px) {
    .inst-content {
        flex-direction: row;
        align-items: center;
    }
    
    .inst-text {
        flex: 1;
    }
    
    .inst-img {
        flex: 1;
    }
}

.inst-img img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.inst-text h2 {
    color: var(--dark-gray);
    margin-bottom: 20px;
    font-size: 2rem;
}

.inst-text p {
    margin-bottom: 15px;
    color: var(--text-light);
}

/* CTA */
.cta-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    margin-bottom: 20px;
    font-size: 2rem;
}

.cta-section p {
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Modal Styles */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.5); 
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 10% auto; 
    padding: 30px;
    border-radius: var(--radius);
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from {opacity: 0; transform: translateY(-50px);}
    to {opacity: 1; transform: translateY(0);}
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover,
.close-modal:focus {
    color: var(--text-dark);
    text-decoration: none;
    cursor: pointer;
}

.modal h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.modal p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(60, 221, 212, 0.2);
}

/* Footer */
.footer {
    background-color: rgb(27, 166, 156);
    color: #ccc;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
}
